You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of epic #595, milestone #9 TUI ShellApp Migration. Stage 4 of the work order. Depends on Stage 1/2.
Goal
Wire the remaining KeyPressed dispatch into TuiShellApp::handle (src/tui_main/shell_app.rs). Today handle only routes plain KeyPressed to Engine::handle_key (already backend-agnostic) plus panel-key accelerators + MenuSystem intercept; everything else returns Reaction::Continue with a // TODO(#595) marker.
Scope
Port the higher-priority key intercepts from event_loop():
dialog / command-palette / completion-popup / context-menu key handling (the modal intercepts that must consume keys before Engine::handle_key).
The "TUI: default Alt+letter keybindings clash with menu bar shortcuts #318" Alt+menu-letter "reveal menu bar" shim (mod.rs:1275-:1294) that sits between the accelerator and MenuSystem dispatch layers — sets engine.menu_bar_visible = true on Alt+ so the same keystroke both reveals and activates the menu. Explicitly NOT yet ported (called out in the module doc so it isn't assumed complete).
Acceptance
Palette/dialog/completion/context-menu keyboard flows work through ShellApp::handle.
driver_with_shell key-injection assertions covering at least the palette open + Alt-reveal path.
Dependencies
Depends on Stage 1/2. No cross-repo dep. Refs: PLAN.md Stage 4; shell_app.rs module doc (Alt-reveal shim note).
Part of epic #595, milestone #9 TUI ShellApp Migration. Stage 4 of the work order. Depends on Stage 1/2.
Goal
Wire the remaining
KeyPresseddispatch intoTuiShellApp::handle(src/tui_main/shell_app.rs). Todayhandleonly routes plainKeyPressedtoEngine::handle_key(already backend-agnostic) plus panel-key accelerators +MenuSystemintercept; everything else returnsReaction::Continuewith a// TODO(#595)marker.Scope
Port the higher-priority key intercepts from
event_loop():Engine::handle_key).mod.rs:1275-:1294) that sits between the accelerator and MenuSystem dispatch layers — setsengine.menu_bar_visible = trueon Alt+ so the same keystroke both reveals and activates the menu. Explicitly NOT yet ported (called out in the module doc so it isn't assumed complete).Acceptance
ShellApp::handle.driver_with_shellkey-injection assertions covering at least the palette open + Alt-reveal path.Dependencies
Depends on Stage 1/2. No cross-repo dep. Refs: PLAN.md Stage 4;
shell_app.rsmodule doc (Alt-reveal shim note).