mirror of
https://github.com/lukaszraczylo/kportal.git
synced 2026-06-09 23:59:45 +00:00
4fe3f6b21f
In the remove-wizard's confirming state, pressing Esc was reflexively calling removeForwardsCmd — i.e. confirming deletion. The on-screen help text said 'Esc: Cancel'. Reflexive Esc-to-cancel destroyed data. Esc now sets confirming=false and resets the cursor; deletion requires Enter on Yes. Non-confirming Esc behavior (exit wizard with ClearScreen) is unchanged. Three regression tests added in handlers_test.go.