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
{{ message }}
Repository navigation
Up/Down arrow keys no longer navigate prompt history #15761
Since commit 3dc10a1 ("Change keybindings to navigate between child sessions"), pressing Up/Down arrow keys no longer navigates through prompt history in the TUI.
The commit changed session_parent default keybind from <leader>up to bare up, which now conflicts with history_previous also bound to up. The session_parent command is matched first in the command dialog's useKeyboard handler, which calls evt.preventDefault() before onSelect. When there is no parent session, onSelect silently returns — but the event is already consumed, so it never reaches the textarea's onKeyDown where history navigation lives.
Steps to reproduce
Open opencode TUI
Send a message
Press Up arrow to recall previous prompt
Nothing happens — the arrow key is swallowed by the no-op session_parent command
Operating System
Linux (Ubuntu)
Terminal
Ghostty
Reacted by Riccardo Mazzarini and Jan-Henrik Damaschke
Activity
fix(opencode): disable session navigation commands when no parent ses…
jlongster commentedon Mar 3, 2026
Good call, will get this fixed asap, sorry about that!