aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-01-04 19:53:24 -0800
committerJoe Wilm <joe@jwilm.com>2017-01-04 19:54:29 -0800
commit693aefcbd7951fd064e587e86f743a326a1cdef6 (patch)
tree1ddda2441dd431020f2d29ff05ceca09993fff2f /src/event.rs
parentaf1ce5b91b4eaa7d681c7b255fc162bd2f74e703 (diff)
downloadalacritty-693aefcbd7951fd064e587e86f743a326a1cdef6.tar.gz
alacritty-693aefcbd7951fd064e587e86f743a326a1cdef6.zip
Draw the screen when Refresh event arrives
cc #53
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event.rs b/src/event.rs
index bfcb3f3c..88f28952 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -159,6 +159,7 @@ impl<N: Notify> Processor<N> {
glutin::Event::MouseWheel(scroll_delta, touch_phase) => {
processor.on_mouse_wheel(scroll_delta, touch_phase);
},
+ glutin::Event::Refresh |
glutin::Event::Awakened => {
processor.ctx.terminal.dirty = true;
},