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/terminal/runtime.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/terminal') 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> { + self.0.encode_mouse_motion(kind, column, row, modifiers) + } + pub fn encode_mouse_wheel( &self, kind: crossterm::event::MouseEventKind, -- cgit v1.2.3