pi-mono/packages/tui/src/components
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
..
alt-screen-flash.ts feat(tui): add stacked alt-screen flashes (#7361) 2026-07-31 10:13:31 +02:00
box.ts fix(coding-agent): apply outputPad to all transcript blocks (#10557) 2026-10-06 17:27:55 +02:00
cancellable-loader.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
editor.ts fix(tui,coding-agent): handle selection page keys in all scrolling lists 2026-10-28 19:05:21 +01:00
h-stack.ts feat(tui): add alternate-screen viewport layouts 2026-07-31 09:22:10 +02:00
image.ts fix(tui,coding-agent): convert non-PNG images for Kitty in Image 2026-10-03 00:14:52 +02:00
input.ts feat(tui,coding-agent): use only the terminal cursor when showHardwareCursor is enabled 2026-10-08 00:23:06 +02:00
loader.ts feat(tui): prettier Working... spinner (#8799) 2026-09-03 20:34:04 +02:00
markdown.ts fix(tui): stop bare URLs at CJK punctuation (#10934) 2026-10-28 10:11:40 +01:00
mouse-region.ts feat(tui): add reusable mouse interaction support 2026-08-14 15:26:27 +02:00
scroll-view.ts feat(tui): alt mode scrollbar but prettier (#8801) 2026-09-04 00:05:47 +02:00
select-list.ts fix(tui,coding-agent): handle selection page keys in all scrolling lists 2026-10-28 19:05:21 +01:00
settings-list.ts fix(tui,coding-agent): handle selection page keys in all scrolling lists 2026-10-28 19:05:21 +01:00
spacer.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
stack.ts feat(tui): add alternate-screen viewport layouts 2026-07-31 09:22:10 +02:00
text.ts fix(coding-agent): apply outputPad to all transcript blocks (#10557) 2026-10-06 17:27:55 +02:00
truncated-text.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
v-stack.ts fix(tui): honor nested stack minimum sizes 2026-08-04 12:44:59 +02:00