Skip to main content

Module startup

Module startup 

Source
Expand description

Startup banner and initial messages.

All builder functions return Vec<Line<'static>> which get pushed into the scroll buffer during TuiContext::new().

Constants§

PURGE_NUDGE_BYTES
Nudge threshold: 500MB of compacted data.

Functions§

build_banner_lines
collect_startup_lines
Collect all startup lines (banner + warnings + notices).
home_dir_warning_lines
Build home-directory footgun warning lines.
print_resume_hint
Print session resume hint (after raw mode ends, to stdout).
purge_nudge
Append purge nudge lines if compacted data exceeds threshold.
purge_nudge_lines
Build purge nudge lines.
update_notice_lines
Build update-available notice lines.