From 97624e1a8e06314840b395fc6a256796b2b57fd9 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Sat, 5 Nov 2022 23:44:44 +0100 Subject: [PATCH] char editor: dont exit on invalid input --- nested/src/char_editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nested/src/char_editor.rs b/nested/src/char_editor.rs index 2591b44..225c640 100644 --- a/nested/src/char_editor.rs +++ b/nested/src/char_editor.rs @@ -64,7 +64,7 @@ impl TerminalEditor for CharEditor { self.data.set(None); TerminalEditorResult::Exit } - _ => TerminalEditorResult::Exit, + _ => TerminalEditorResult::Continue, } } }