Simplify menus with Enter navigation

This commit is contained in:
thePR0M3TH3AN committed 2025-07-06 07:57:02 -04:00
1 parent d40a64f6da
commit 876ed71f74
8 files changed
+31 -44

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ def test_settings_menu_additional_backup(monkeypatch):
tmp_path = Path(tmpdir)
pm, cfg_mgr, fp_mgr = setup_pm(tmp_path, monkeypatch)
inputs = iter(["10", "15"])
inputs = iter(["10", ""])
with patch("main.handle_set_additional_backup_location") as handler:
with patch("builtins.input", side_effect=lambda *_: next(inputs)):
main.handle_settings(pm)