Skip to main content

format_chord

Function format_chord 

Source
pub fn format_chord(event: &KeyEvent) -> Option<String>
Expand description

Render a single crossterm key event as canonical chord notation. Returns None for events that have no chord representation. Thin shim over from_event + to_string.