Skip to content

[BUG] [alpha] TerminalSettingsPanel shortcuts info box lists Ctrl+A = "Select all terminal content" and Ctrl+↑/↓ = "Navigate command history" but neither keybinding exists — both are non-functional (TerminalSettingsPanel.tsx:505-510) #39619

@hconsulting987654321-blip

Description

Project

ide

Description

The Terminal Settings panel (TerminalSettingsPanel.tsx, lines 490-515) displays a "Terminal Shortcuts" info box listing keyboard shortcuts. Two of the listed shortcuts do not exist in the terminal keybinding system and are non-functional:

  1. Line 509-510: Ctrl+A = Select all terminal content — No keybinding for Ctrl+A exists in TerminalEventHandlers.ts. In a terminal, Ctrl+A sends ASCII SOH to the shell (readline: go to beginning of line). The terminal.selectAll command is only accessible via the command palette, not via Ctrl+A.

  2. Line 505-506: Ctrl+↑/↓ = Navigate command history (accessibility) — The goToNextCommand/goToPrevCommand methods exist but are only triggered via custom events (terminal:go-to-next-command). No Ctrl+Arrow keybinding is registered in TerminalEventHandlers.ts. The only Ctrl bindings are Ctrl+F (find), Ctrl+L (clear), and Ctrl+Shift+L (scroll lock).

The shortcuts that DO work are correctly listed: Ctrl+`` (toggle panel), Ctrl+Shift+`` (new terminal), Ctrl+C (interrupt).

Error Message

N/A

Debug Logs

N/A

System Information

  • Cortex IDE alpha (latest)
  • OS: Linux x86_64
  • Browser engine: Chromium

Screenshots

screenshot

Steps to Reproduce

  1. Open Settings (Ctrl+,)
  2. Navigate to Terminal section
  3. Scroll down to "Terminal Shortcuts" info box
  4. Read the listed shortcuts: Ctrl+A and Ctrl+↑/↓
  5. Open a terminal and try pressing Ctrl+A — cursor jumps to line start (shell behavior), does NOT select all
  6. Try pressing Ctrl+↑ — sends escape sequence to shell, does NOT navigate commands

Expected Behavior

The shortcuts listed in the info box should be functional keyboard bindings registered in the terminal event handler. If they are not implemented, they should not be documented as available shortcuts.

Actual Behavior

Ctrl+A and Ctrl+↑/↓ are listed as working shortcuts but have no keybinding registered. Pressing them triggers default terminal/shell behavior instead of the documented action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideIssues related to IDEvalidValid issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions