Skip to main content

Module terminal

Module terminal 

Source
Expand description

The terminal session the UI runs in: ratatui’s raw mode / inline viewport plus the crossterm mode escapes layered on top, owned by one RAII guard.

Constants§

INLINE_SCROLLBACK_RESERVE
Rows left above the inline viewport for the scrollback the UI commits into the terminal’s own history.

Functions§

inline_viewport_height
inline_viewport_needs_resync
Whether the inline viewport no longer matches the window it was created for.