mirror of
https://github.com/alacritty/alacritty.git
synced 2025-04-14 17:53:03 -04:00
Fix resize not redrawing immediately
This commit is contained in:
parent
b9f663f99e
commit
6c9989819b
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@ impl<'a, W> Processor<'a, W>
|
|||
},
|
||||
glutin::Event::Resized(w, h) => {
|
||||
self.resize_tx.send((w, h)).expect("send new size");
|
||||
// Acquire term lock
|
||||
let mut terminal = self.terminal.lock_high();
|
||||
terminal.dirty = true;
|
||||
},
|
||||
glutin::Event::KeyboardInput(state, _code, key, mods) => {
|
||||
// Acquire term lock
|
||||
|
|
Loading…
Add table
Reference in a new issue