[PR #8347] fix: make home/end keys work in menu list modal windows (resolves #7190) #12712

Closed
opened 2026-02-16 18:17:36 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/8347

State: closed
Merged: Yes


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

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8347 **State:** closed **Merged:** Yes --- ### 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
yindo added the pull-request label 2026-02-16 18:17:36 -05:00
yindo closed this issue 2026-02-16 18:17:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12712