mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-30 01:12:17 +00:00
Consolidated duplicated menu loop logic from `_entry_actions_menu`, `_entry_edit_menu`, and `_entry_qr_menu` in `src/seedpass/core/manager.py` into a reusable `run_menu` method in `src/seedpass/core/menu_handler.py`. This improves maintainability by centralizing the loop handling, input prompting, and header clearing logic. * Added `run_menu` to `MenuHandler`. * Refactored `_entry_actions_menu` to use `run_menu`. * Refactored `_entry_edit_menu` to use `run_menu`. * Refactored `_entry_qr_menu` (NOSTR section) to use `run_menu`. Co-authored-by: PR0M3TH3AN <[email protected]>