From cd1eb22a7d41008fe774d1481f520b7dbf7b24f0 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 17 Sep 2023 20:33:39 -0400 Subject: [PATCH] Add ctrl-j as enter --- src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 33c2c6d..5588c97 100644 --- a/src/main.rs +++ b/src/main.rs @@ -381,6 +381,10 @@ fn handle_key(app: &mut App, key: KeyEvent) -> CalculatorResult CalculatorResult {} + _key_event => {} }, (AppState::Help, _) => match key { KeyEvent {