Skip to main content

window_title

Function window_title 

Source
pub fn window_title(status: &str) -> String
Expand description

The startup lockup flattened into a terminal window/tab title.

The tab title has one row, so it carries the mark and the wordmark from the lockup; a lower-eighth block per bar (see MARK) is what keeps the lockup’s bar heights readable in that single row. status is the activity glyph the caller appends ("⟳" in flight, "↻" retrying, empty when idle); it goes last so a truncated tab still shows the mark and the name first. Honours NO_EMOJI_ENV exactly like the lockup, so the two never disagree.