We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent add7acb commit 7b88659Copy full SHA for 7b88659
src/main.rs
@@ -55,7 +55,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
55
let mut collections: Vec<OutputData> = Vec::new();
56
let mut running = true;
57
while running {
58
-
+ running = handle_events(&mut app).unwrap();
59
let id = rx.recv().unwrap();
60
if collections.is_empty() {
61
collections.push(id.clone());
@@ -82,7 +82,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
82
}
83
84
terminal.draw(|f| ui(f, collections.clone(), &app)).unwrap();
85
- running = handle_events(&mut app).unwrap();
86
87
disable_raw_mode().unwrap();
88
stdout().execute(LeaveAlternateScreen).unwrap();
0 commit comments