Skip to content

Conversation

@ariane-emory
Copy link
Contributor

@ariane-emory ariane-emory commented Jan 14, 2026

What does this PR do?

This PR improves UX when navigating all of the various menu/list modal windows by making the home/end keys scroll to the top/bottom of the list. This improves adherence to the principle of least surprise: users are likely to press these keys, expecting them to work, since they do in most other applications, and currently they will be surprised to discover that they do not work. This change eliminates that stumbling block and provides a smoother navigation experience in the menu list modal windows.

Since they all use shared code, this fix applies to all the menu list modal windows: session_timeline, command_list, model_list, and possibly also others that I'm not aware of or that have slipped my mind at the present moment.

How did you verify your code works?

I have been using it for weeks in my personal fork and I've never had a problem with it. C'mon, it's two very simple lines, what could go wrong?

Resolves #7190
Resolves #8344

@ariane-emory ariane-emory marked this pull request as ready for review January 14, 2026 03:38
@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@ariane-emory ariane-emory changed the title fix: home/end in menu list modal windows (resolves #7190) fix: make home/end keys work in menu list modal windows (resolves #7190) Jan 14, 2026
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.

Home/End keys navigate history instead of moving cursor within prompt [FEATURE]: Support Home and End buttons in the input

1 participant