diff --git a/src/input.rs b/src/input.rs index 88152e4..2f737b1 100644 --- a/src/input.rs +++ b/src/input.rs @@ -93,6 +93,7 @@ impl From for Input { let mut ctrl = false; let mut alt = false; let key = match key { + Char('\n' | '\r') => Key::Enter, Char(c) => Key::Char(c), Ctrl(c) => { ctrl = true;