From 902be75848b99b4f60bbd74cd305b899afeeac78 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 9 Oct 2022 18:06:30 +0200 Subject: Allow to abort when selecting difficulty --- src/gui/question.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui') diff --git a/src/gui/question.rs b/src/gui/question.rs index 33adabc..1c4f179 100644 --- a/src/gui/question.rs +++ b/src/gui/question.rs @@ -191,6 +191,9 @@ pub fn ask( difficulty: selected, }) } + Key::Ctrl('c') => { + return Ok(Response::Aborted); + } _ => {} }, } -- cgit v1.2.3