Skip to content

Conversation

@4h9fbZ
Copy link
Contributor

@4h9fbZ 4h9fbZ commented Jan 29, 2026

Improves editor navigation by making cursor up/down actions jump to line boundaries when already at the edge.

Before:

  • Pressing up while on the first visual line did nothing
  • Pressing down while on the last visual line did nothing

After:

  • Pressing up on first visual line jumps to start of line
  • Pressing down on last visual line jumps to end of line

This matches standard behavior in most native text inputs.

Tested with:

  • Single line input
  • Multi-line wrapped input
  • History navigation (preserved existing behavior)

When cursor is on the first visual line and up is pressed, jump to
start of line instead of doing nothing. When cursor is on the last
visual line and down is pressed, jump to end of line instead of doing
nothing. This matches standard behavior in most native text inputs.
@badlogic badlogic merged commit ab37d66 into badlogic:main Jan 30, 2026
1 check passed
@badlogic
Copy link
Owner

Cheers!

badlogic added a commit that referenced this pull request Jan 30, 2026
- ai: Vercel AI Gateway routing support (#1051)
- tui: Ctrl+B/Ctrl+F keybindings (#1053), character jump navigation (#1074),
  line boundary navigation (#1050), performance optimizations (#1084)
- coding-agent: set_session_name RPC (#1075), config selector folder names (#1064)
- Cross-package duplication of tui/ai changes to coding-agent
- Add New Features section to coding-agent changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants