Skip to content

Scrollable Panels

All TUI panels support scrolling when content exceeds the available space. This includes the session list, task panel, preview pane, and dialog content.

Each panel tracks its scroll state independently using an integer offset representing the first visible line or item. The viewport is calculated as the panel height minus chrome (borders, headers, footers).

When navigating with j/k, the viewport scrolls automatically to keep the cursor visible. If the cursor moves beyond the visible area, the viewport adjusts.

Panels show position information when content overflows, helping you understand where you are in the content.

When a panel is focused:

KeyAction
j / Scroll down one line
k / Scroll up one line
PgDnScroll down one page
PgUpScroll up one page
gGo to top
GGo to bottom