char editor: dont exit on invalid input

This commit is contained in:
Michael Sippel 2022-11-05 23:44:44 +01:00
parent 1588375e7d
commit 97624e1a8e
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -64,7 +64,7 @@ impl TerminalEditor for CharEditor {
self.data.set(None); self.data.set(None);
TerminalEditorResult::Exit TerminalEditorResult::Exit
} }
_ => TerminalEditorResult::Exit, _ => TerminalEditorResult::Continue,
} }
} }
} }