diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-03 02:03:14 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-03 02:03:44 +0300 |
| commit | b695d7cbc0d29540993642c23b3d5798cbf9f7dc (patch) | |
| tree | d7243c891dca6c8991583edd7666ec9fe8cc6f94 /src/terminal | |
| parent | daf636fef7fd68bcb1e30cfb155883c3b831513c (diff) | |
fix: forward any-motion pane mouse events
refs #419
Diffstat (limited to 'src/terminal')
| -rw-r--r-- | src/terminal/runtime.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/terminal/runtime.rs b/src/terminal/runtime.rs index bfc8f3c6..6d761b11 100644 --- a/src/terminal/runtime.rs +++ b/src/terminal/runtime.rs @@ -333,6 +333,16 @@ impl TerminalRuntime { self.0.encode_mouse_button(kind, column, row, modifiers) } + pub fn encode_mouse_motion( + &self, + kind: crossterm::event::MouseEventKind, + column: u16, + row: u16, + modifiers: crossterm::event::KeyModifiers, + ) -> Option<Vec<u8>> { + self.0.encode_mouse_motion(kind, column, row, modifiers) + } + pub fn encode_mouse_wheel( &self, kind: crossterm::event::MouseEventKind, |
