Skip to main content

key_hints

Function key_hints 

Source
pub fn key_hints(
    hints: &[(impl AsRef<str>, impl AsRef<str>)],
    theme: &Theme,
) -> Line<'static>
Expand description

A footer’s key hints, each key in the accent colour ahead of its muted description. Every full-screen route labels its keys the same way.

A single space separates the pairs: the highlighted keys already break them up, and these footers are long enough that anything wider wraps at 80 columns.