Describe the bug
When the inshellisense suggestion menu is visible, the Up and Down arrow keys are captured by the suggestion list instead of navigating shell command history.
The menu can also appear while browsing previous commands, which makes history navigation unreliable.
To Reproduce
Steps to reproduce the behavior:
- Start a shell session with
inshellisense enabled.
- Run a few commands so the shell history contains multiple entries.
- Type a command or partial command that opens the
inshellisense suggestion menu.
- Press
Up or Down.
- Notice that the selected suggestion changes instead of the shell history entry.
Expected behavior
Up and Down should continue to navigate the shell command history.
The suggestion menu should not appear while navigating through history just because a previous command is displayed. It should appear only after the user resumes typing or editing the input.
Environment
- OS: macOS 26.5.1
- Output of
is --version: 0.0.1
- Nodejs Version: v24.16.0
- Shell: zsh
- Shell Version: 5.9 (arm64-apple-darwin25.0)
Additional context
There were older issues around command history and arrow-key behavior:
Those issues appear to be closed, but this report is specifically about the visible suggestion menu capturing Up / Down and appearing during history navigation.
Describe the bug
When the
inshellisensesuggestion menu is visible, theUpandDownarrow keys are captured by the suggestion list instead of navigating shell command history.The menu can also appear while browsing previous commands, which makes history navigation unreliable.
To Reproduce
Steps to reproduce the behavior:
inshellisenseenabled.inshellisensesuggestion menu.UporDown.Expected behavior
UpandDownshould continue to navigate the shell command history.The suggestion menu should not appear while navigating through history just because a previous command is displayed. It should appear only after the user resumes typing or editing the input.
Environment
is --version: 0.0.1Additional context
There were older issues around command history and arrow-key behavior:
Those issues appear to be closed, but this report is specifically about the visible suggestion menu capturing
Up/Downand appearing during history navigation.