aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_project_ui.py
diff options
context:
space:
mode:
authorblasty <blasty@local>2026-07-25 20:19:34 +0200
committerblasty <blasty@local>2026-07-25 20:19:34 +0200
commitbaf599e143dbf23f33886ba03a60c5d9f3c19078 (patch)
treee6d9193f66ea8ef69ee4c65dd6e4ca67efce07d2 /tests/test_project_ui.py
parentnav: tell the user something is happening when Esc needs a decompile (diff)
downloadida-tui-baf599e143dbf23f33886ba03a60c5d9f3c19078.tar.gz
ida-tui-baf599e143dbf23f33886ba03a60c5d9f3c19078.tar.xz
ida-tui-baf599e143dbf23f33886ba03a60c5d9f3c19078.zip
nav: bind back to backspace as well — a bare Esc isn't reliable in a terminal
Esc-to-go-back needed two presses. It looked like the decomp pane was swallowing the first one, but the RPC state dump before/after a single Esc settles it: nav_depth 3 -> 3 action_back never ran cursor.col 19 -> 20 +1 column, i.e. `right` modal null nothing was up to eat the key The keypress arrived as a right-arrow. \x1b is both Escape and the lead byte of every arrow/function-key sequence (ESC [ C is right), so a terminal or tmux that merges a lone Esc with what follows delivers something else entirely. Nothing in the nav path touches cursor_x and there is no widget-level escape binding on the code views, so this was never application logic — I spent two commits looking in the wrong place before asking for the dump. Bind back to "escape,backspace". Backspace is unambiguous, so going back never depends on a byte the terminal can reinterpret; Esc still works wherever it's delivered intact. tmux users generally want `set -sg escape-time 10` regardless. docs/TEXTUAL_NOTES.md records the symptom and, more usefully, the triage: check nav_depth in the state dump first — if the action never ran, it's the input layer, not the logic. Verified: backspace in the pseudocode pane takes nav 3 -> 2 and reloads the previous function. Suite 192/0.
Diffstat (limited to 'tests/test_project_ui.py')
0 files changed, 0 insertions, 0 deletions