From b695d7cbc0d29540993642c23b3d5798cbf9f7dc Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 3 Jun 2026 02:03:14 +0300 Subject: fix: forward any-motion pane mouse events refs #419 --- src/pane.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/pane.rs') diff --git a/src/pane.rs b/src/pane.rs index 7ab069bc..4611b315 100644 --- a/src/pane.rs +++ b/src/pane.rs @@ -1900,6 +1900,17 @@ impl PaneRuntime { .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> { + self.terminal + .encode_mouse_motion(kind, column, row, modifiers) + } + pub fn encode_mouse_wheel( &self, kind: crossterm::event::MouseEventKind, -- cgit v1.2.3