diff options
author | Joris | 2023-01-26 08:48:16 +0100 |
---|---|---|
committer | Joris | 2023-01-26 08:48:16 +0100 |
commit | 24623b167acc7f0759748fda45053dbee8ab363b (patch) | |
tree | 030e0f8b1efe79db4edaae72e2caf127aefa5568 | |
parent | 417d0cac77ff4e48945bbc3086dd6d5c0c3bda6e (diff) |
Remove unused code
-rw-r--r-- | src/gui/message.rs | 2 |
1 files changed, 0 insertions, 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<B: Backend>( })?; 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; } |