Skip to content

TUI: default Alt+letter keybindings clash with menu bar shortcuts #318

Description

@JDonaghy

Summary

Several default TUI keybindings use Alt+letter combos that conflict with the menu bar's Alt+letter activation shortcuts. When the menu bar is visible, Alt+letter correctly opens the corresponding menu, but when the menu bar is hidden the same keys trigger unrelated actions (e.g. Alt+T opens tab switcher instead of Terminal menu).

Examples

  • Alt+T — bound to tab switcher, clashes with Terminal menu
  • Alt+, / Alt+. — bound to sidebar resize, may clash with menu navigation
  • Other Alt+letter combos may have similar conflicts

Expected

Default keybindings should not use Alt+letter combos that overlap with menu bar shortcuts (F/E/V/G/R/T/H). Either:

  1. Rebind the conflicting defaults to different keys, or
  2. Give menu bar activation unconditional priority over other Alt+letter bindings when the menu bar is visible (already partially implemented in src/tui_main/mod.rs:3442)

Where to look

  • src/tui_main/mod.rs — Alt+letter menu activation (line ~3442) and other Alt bindings
  • src/render.rs MENU_STRUCTURE — the 7 menu alt keys

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinguiUI/rendering

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions