diff options
Diffstat (limited to 'src/Event.zig')
| -rw-r--r-- | src/Event.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Event.zig b/src/Event.zig index 63dcb5f2..aa93f412 100644 --- a/src/Event.zig +++ b/src/Event.zig @@ -44,6 +44,9 @@ pub const Mouse = struct { /// pane or column out of the window (Handover.zig). col and row are /// still the last cell inside. outside: bool = false, + /// A wheel's turn in notches, a touchpad's fraction of one; 0 is one + /// (a terminal's, every wheel's but a window's over a kind's pane). + amount: f32 = 0, }; pub const Key = struct { |
