aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/message.rs2
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;
}