diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index c619a66b..bfe9d769 100644 --- a/src/main.rs +++ b/src/main.rs @@ -246,6 +246,7 @@ fn main() { // Wait for something to happen processor.process_events(&window); + // Handle config reloads if let Ok(config) = config_rx.try_recv() { display.update_config(&config); processor.update_config(&config); @@ -258,6 +259,7 @@ fn main() { display.draw(terminal, &config); } + // Begin shutdown if the flag was raised. if process_should_exit() { break; } |