diff options
author | Joe Wilm <joe@jwilm.com> | 2016-12-04 15:48:12 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-12-11 20:23:41 -0800 |
commit | 61c1e37c4652e3668546f4d332d31f24a8eea7bb (patch) | |
tree | 71d12972f806760dd648fec01cd61cb02206b5c9 /src/main.rs | |
parent | 43397cefec97fdba38976f4a8e3e693c5dadfc61 (diff) | |
download | alacritty-61c1e37c4652e3668546f4d332d31f24a8eea7bb.tar.gz alacritty-61c1e37c4652e3668546f4d332d31f24a8eea7bb.zip |
Add comments in main loop
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; } |