`!` bash-command input can hang on submit due to filename-completion dropdown stealing keystrokes
When typing a shell command via the ! prefix that includes a path-like token (e.g. ls -a /root, ls \root), the input box's filename-completion/autocomplete dropdown sometimes activates and captures subsequent keystrokes (including Enter), so the command never submits to the shell — it just sits at the prompt with no output, no error, indefinitely. Pressing Escape before Enter dismisses the dropdown and lets the command run normally, confirming the underlying shell/command execution isn't at fault.
Repro steps:
- Type
!to enter bash-command mode. - Type a command referencing an absolute or backslash-prefixed path, e.g.
ls -a /root. - Press Enter without first pressing Escape.
- Observe: no output, command does not appear to execute.
- Press Escape, retype/submit — command runs normally.
Expected: Enter should submit the command to the shell regardless of any open autocomplete suggestion, or the dropdown shouldn't intercept Enter unless an item is actively highlighted for selection.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗