mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
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.
This commit is contained in:
parent
969b9005f5
commit
ff1ceb523d
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue