Skip to main content

title_bar

Function title_bar 

Source
pub fn title_bar(
    frame: &mut Frame<'_>,
    area: Rect,
    title: Line<'static>,
    keys: &[(String, String)],
)
Expand description

Title bar: title (a header) with the session keys, keys (super::session_keys), at its right end. The keys stay whole however narrow the terminal, the title giving way, so the detach key is always on screen.