Skip to main content

Module scroll_buffer

Module scroll_buffer 

Source
Expand description

Render cache for fullscreen TUI history panel.

Stores styled Lines in a VecDeque and provides virtual scrolling with “sticky bottom” behavior. The buffer is a render cache — the DB is the source of truth. Lines evicted from the buffer can be re-rendered from DB on demand.

See #472 for the fullscreen migration RFC.

Structs§

ScrollBuffer
Scrollable buffer of rendered Lines with sticky-bottom auto-scroll.