Key repeat not working for page up/page down keys in main chat view #3210

Closed
opened 2026-02-16 17:39:07 -05:00 by yindo · 3 comments
Owner

Originally created by @ariane-emory on GitHub (Nov 29, 2025).

Originally assigned to: @kommander on GitHub.

Description

Even after @kommander's recent fix, key repeat is not working for the page up/page down keys in the main session chat view.

As a secondary program, in menus like the commad_list or models list, the page up/page down keys do not scroll the modal window's selection at all and instead close the modal window.

OpenCode version

1.0.121

Steps to reproduce

  1. Launch opencode 1.0.121.
  2. Load (or produce via interaction) a session containing multiple screens worth of text.
  3. Press and hold page up.
  4. Observe that the viewport is only scrolled up by one screen.
  5. Press and hold page down.
  6. Observe that the viewport is only scrolled down by one screen.

Secondary problem:

  1. Launch opencode 1.0.121.
  2. Open either the models list or command_list.
  3. Press and hold either the page up or page down keys.
  4. Observe that the modal window closes instead of moving the selection.

Screenshot and/or share link

No response

Operating System

MacOS Sequoia latest

Terminal

iTerm2

Originally created by @ariane-emory on GitHub (Nov 29, 2025). Originally assigned to: @kommander on GitHub. ### Description Even after @kommander's recent fix, key repeat is not working for the page up/page down keys in the main session chat view. As a secondary program, in menus like the `commad_list` or models list, the page up/page down keys do not scroll the modal window's selection at all and instead close the modal window. ### OpenCode version 1.0.121 ### Steps to reproduce 1. Launch opencode 1.0.121. 2. Load (or produce via interaction) a session containing multiple screens worth of text. 3. Press and hold page up. 4. Observe that the viewport is only scrolled up by one screen. 5. Press and hold page down. 6. Observe that the viewport is only scrolled down by one screen. Secondary problem: 1. Launch opencode 1.0.121. 2. Open either the models list or `command_list`. 3. Press and hold either the page up or page down keys. 4. Observe that the modal window closes instead of moving the selection. ### Screenshot and/or share link _No response_ ### Operating System MacOS Sequoia latest ### Terminal iTerm2
yindo added the opentuibug labels 2026-02-16 17:39:07 -05:00
yindo closed this issue 2026-02-16 17:39:07 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 29, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4906: Arrow keys do not repeat in the prompt input

Both issues describe key repeat functionality not working for navigation keys (arrow keys in #4906, page up/page down in this issue). They may be related to the same underlying key repeat bug in the opentui implementation.

Feel free to ignore if this specific case addresses different functionality.

@github-actions[bot] commented on GitHub (Nov 29, 2025): This issue might be a duplicate of existing issues. Please check: - #4906: Arrow keys do not repeat in the prompt input Both issues describe key repeat functionality not working for navigation keys (arrow keys in #4906, page up/page down in this issue). They may be related to the same underlying key repeat bug in the opentui implementation. Feel free to ignore if this specific case addresses different functionality.
Author
Owner

@kommander commented on GitHub (Nov 30, 2025):

Fix incoming

@kommander commented on GitHub (Nov 30, 2025): Fix incoming
Author
Owner

@ariane-emory commented on GitHub (Dec 1, 2025):

@kommander It does indeed appear that you may have fixed this? Feel free to close if so.

@ariane-emory commented on GitHub (Dec 1, 2025): @kommander It does indeed appear that you may have fixed this? Feel free to close if so.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3210