pi-mono/packages/tui/src
Petr Houška 3bae85274a fix(tui,coding-agent): handle selection page keys in all scrolling lists
tui.select.pageUp/pageDown were configurable but ignored by SelectList,
SettingsList, editor autocomplete, and most coding-agent selectors. In
fullscreen mode, the default PageUp/PageDown also scrolled the transcript
instead of reaching the focused list.

- add getSelectPageIndex() and handle page keys in SelectList, SettingsList,
  editor autocomplete, and the model, scoped models, auth, user message,
  settings submenu, llama search, and /mcp selectors
- add Component.capturesViewportInput: a focused component that sets it
  receives fullscreen viewport keys instead of the transcript, as a focused
  overlay already does
- let page keys move an open autocomplete menu before app actions, so a
  remapped Ctrl+V pages the menu instead of pasting an image

closes #7629

Co-authored-by: muyiyr <940955635@qq.com>
2026-10-28 19:05:21 +01:00
..
components fix(tui,coding-agent): handle selection page keys in all scrolling lists 2026-10-28 19:05:21 +01:00
alt-screen-search.ts fix(tui): make fullscreen transcript search scale linearly 2026-09-04 10:22:04 +02:00
autocomplete.ts fix(tui): escape regex metacharacters in single-segment fd queries (#11212) 2026-10-21 12:21:15 +02:00
colors.ts feat(coding-agent,tui): System theme (#10067) 2026-09-26 13:33:47 +02:00
editor-component.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
fuzzy.ts fix(tui,coding-agent): rank contiguous fuzzy matches and search session fields separately 2026-10-22 21:39:17 +02:00
index.ts fix(tui,coding-agent): handle selection page keys in all scrolling lists 2026-10-28 19:05:21 +01:00
keybindings.ts fix(tui,coding-agent): handle selection page keys in all scrolling lists 2026-10-28 19:05:21 +01:00
keys.ts fix(tui): recognize kitty F1-F12 sequences and ignore F13+ keys (#11468) 2026-10-27 09:16:36 +01:00
kill-ring.ts Add the kill ring and undo features to the Input component (#1373) 2026-02-07 15:47:27 +01:00
latex.ts fix(tui): improve LaTeX compatibility and layouts 2026-09-19 23:28:04 +02:00
layout-node.ts feat(tui): add configurable fullscreen scrollbars 2026-07-31 17:17:02 +02:00
layout.ts fix(tui): bound image line search by tallest registered image 2026-10-23 21:59:31 +02:00
native-modifiers.ts feat(tui): Simplify clipboard handling (#9163) 2026-09-05 23:52:32 +02:00
native-module-path.ts feat(coding-agent): bundle Node runtime (#8474) 2026-08-22 21:19:38 +02:00
native-platform.ts fix(coding-agent,tui): paste Finder file paths instead of icons (#10136) 2026-09-28 20:59:29 +01:00
oklab.ts feat(coding-agent,tui): System theme (#10067) 2026-09-26 13:33:47 +02:00
program-status.ts fix: harden handling of untrusted URLs, terminal text, and streamed data 2026-10-26 20:46:31 +01:00
stdin-buffer.ts fix(tui): keep delayed terminal replies out of keyboard input 2026-10-11 20:17:00 +02:00
terminal-colors.ts feat(coding-agent,tui): System theme (#10067) 2026-09-26 13:33:47 +02:00
terminal-image.ts fix(tui): bound image line search by tallest registered image 2026-10-23 21:59:31 +02:00
terminal.ts fix: harden handling of untrusted URLs, terminal text, and streamed data 2026-10-26 20:46:31 +01:00
tui-alt-screen.ts fix(tui,coding-agent): handle selection page keys in all scrolling lists 2026-10-28 19:05:21 +01:00
tui-main-screen.ts feat(tui,coding-agent): use only the terminal cursor when showHardwareCursor is enabled 2026-10-08 00:23:06 +02:00
tui.ts fix(tui,coding-agent): handle selection page keys in all scrolling lists 2026-10-28 19:05:21 +01:00
undo-stack.ts Add the kill ring and undo features to the Input component (#1373) 2026-02-07 15:47:27 +01:00
utils.ts fix: harden handling of untrusted URLs, terminal text, and streamed data 2026-10-26 20:46:31 +01:00
wheel-scroll.ts feat(tui,coding-agent): configurable fullscreen wheel scrolling with auto acceleration 2026-09-29 09:57:53 +02:00
word-navigation.ts fix(tui): align input word segmentation with editor (#5068) 2026-05-27 20:50:04 +02:00