History navigation cursor should move to end of line
Resolved 💬 2 comments Opened Mar 22, 2026 by jiliumich Closed Apr 20, 2026
Description
When using ↑/↓ arrow keys to navigate command history in the chat input, the cursor is placed at the beginning of the recalled line instead of the end, unlike standard Unix terminal behavior.
Expected Behavior
Cursor should move to the end of the line after history recall (consistent with bash/zsh readline behavior).
Actual Behavior
Cursor lands at the beginning of the line.
Workaround
Press End or Ctrl+E after pressing ↑ to manually move cursor to end of line.
Suggested Fix
Either:
- Move cursor to end of line by default after history recall, or
- Make this behavior configurable via
keybindings.json
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗