diff options
author | Joe Wilm <joe@jwilm.com> | 2016-09-21 21:05:27 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-09-21 21:05:27 -0700 |
commit | ff1ceb523dc3d211f171e9cf661d8516d108f2d0 (patch) | |
tree | d6d50cef9b418bac1a87eac26e931c7f364abc74 /src | |
parent | 969b9005f5d8b3fadc7719676057e45745ba6e05 (diff) | |
download | alacritty-ff1ceb523dc3d211f171e9cf661d8516d108f2d0.tar.gz alacritty-ff1ceb523dc3d211f171e9cf661d8516d108f2d0.zip |
Fix refresh bug
Terminal output wouldn't reliably refresh the screen. Fix is to only
modify this flag when the terminal lock is held which suggests a larger
refactoring should happen.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index eff7ddaa..0b72c374 100644 --- a/src/main.rs +++ b/src/main.rs @@ -211,10 +211,9 @@ fn main() { // Wait for something to happen processor.process_events(&window); - signal_flag.set(false); - // Maybe draw the terminal let terminal = terminal.lock_high(); + signal_flag.set(false); if terminal.dirty { display.draw(terminal); } |