terminal/keys: add `Space` identifier in Key Display impl

pull/234/head
Manos Pitsidianakis 4 years ago
parent 9afbdd4887
commit d95aae1987
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

@ -73,6 +73,7 @@ impl fmt::Display for Key {
use crate::Key::*;
match self {
F(n) => write!(f, "F{}", n),
Char(' ') => write!(f, "Space"),
Char('\t') => write!(f, "Tab"),
Char('\n') => write!(f, "Enter"),
Char(c) => write!(f, "{}", c),

Loading…
Cancel
Save