aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index 08c4d43e..c8fb83e9 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -303,7 +303,7 @@ impl<N: Notify> Processor<N> {
processor.mouse_input(state, button);
processor.ctx.terminal.dirty = true;
},
- MouseMoved { position: (x, y), .. } => {
+ CursorMoved { position: (x, y), .. } => {
let x = x as i32;
let y = y as i32;
let x = limit(x, 0, processor.ctx.size_info.width as i32);