From cea4e6a54b811c64fc660dd59e8eaea5cf8bbce8 Mon Sep 17 00:00:00 2001 From: blasty Date: Fri, 24 Jul 2026 21:56:04 +0200 Subject: split: guard toggle behind prompt-active; clear _split in the pilot reset Two small correctness tidies before phase 2: * action_toggle_split now no-ops while a search/rename/... prompt owns the keyboard (parity with the other app actions; a stray 's' can't split mid-edit). * the pilot reset() clears app._split so split state can't leak into the next scenario if one crashes mid-run. --- tests/test_scenarios.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/test_scenarios.py b/tests/test_scenarios.py index aa0ecbf..cfa3e3a 100644 --- a/tests/test_scenarios.py +++ b/tests/test_scenarios.py @@ -227,6 +227,7 @@ class Ctx: app._pref = "decomp" if app._active == "hex": app._active = "decomp" + app._split = False await self.pause(0.02) -- cgit v1.3.1-sl0p