Skip to main content

summary_of

Function summary_of 

Source
pub fn summary_of(title: &str) -> &str
Expand description

Whatever marker the title leads with, taken off so the column can be filled from the STATE instead. The title shows the same star for all three states (and sometimes a spinner frame that means nothing in particular), so the glyph it carries is dropped rather than shown.

A marker is “a leading run of non-printable-ASCII, then a space or the end”, not a list of the known frames: this only has to find where the summary starts, so a glyph nobody has seen yet is still stripped cleanly. A title that merely opens on a non-ASCII WORD is left whole, since the space has to follow the run directly.