feat: support horizontal mouse scrolling in buffers

This commit is contained in:
2026-10-11 14:10:20 +02:00
parent 0ca0d89b9e
commit 0d4601b612
6 changed files with 272 additions and 31 deletions
+4
View File
@@ -274,6 +274,10 @@ impl EditorSession {
self.editor.scroll_diff(focus, down);
}
pub(crate) fn scroll_diff_horizontal(&mut self, focus: Focus, right: bool, width: usize) {
self.editor.scroll_diff_horizontal(focus, right, width);
}
pub fn handle(&mut self, input: Input) {
self.cancel_pending_popup_request();
let invocation = self.editor.handle(input);