Skip to main content

command_headline_single_line

Function command_headline_single_line 

Source
pub fn command_headline_single_line(command: &str, max_len: usize) -> String
Expand description

Single-line variant of command_headline_with_args for one-row slots (desktop titles and compact activity rows). Both ends survive truncation so a long command still exposes its distinguishing arguments.