From 24623b167acc7f0759748fda45053dbee8ab363b Mon Sep 17 00:00:00 2001 From: Joris Date: Thu, 26 Jan 2023 08:48:16 +0100 Subject: Remove unused code --- src/gui/message.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gui/message.rs b/src/gui/message.rs index 0136f1c..f0d826a 100644 --- a/src/gui/message.rs +++ b/src/gui/message.rs @@ -31,13 +31,11 @@ pub fn show( })?; if wait { - // if crossterm::event::poll(Duration::from_secs(0))? { if let Event::Key(key) = event::read()? { if key.code == KeyCode::Char('q') || key.code == KeyCode::Char('c') && key.modifiers.contains(KeyModifiers::CONTROL) { break; } } - // } } else { break; } -- cgit v1.2.3