unpark main thread on resize

This commit is contained in:
figsoda 2020-11-20 09:47:50 -05:00
parent 843b3967c9
commit 0a1d805868

View file

@ -185,6 +185,7 @@ async fn run() -> Result<()> {
Event::Mouse(MouseEvent::ScrollUp(..)) => Command::Up,
Event::Resize(..) => {
updates3.fetch_or(0b001, Ordering::Relaxed);
t3.unpark();
continue;
}
Event::Key(KeyEvent { code, modifiers }) => match code {