diff src/normal.c @ 31103:33ca088dbd3e v9.0.0886

patch 9.0.0886: horizontal mouse scroll only works in the GUI Commit: https://github.com/vim/vim/commit/44c2209352d56d70b1fc0215e81f1822d55aa563 Author: Christopher Plewright <chris@createng.com> Date: Tue Nov 15 17:43:36 2022 +0000 patch 9.0.0886: horizontal mouse scroll only works in the GUI Problem: Horizontal mouse scroll only works in the GUI. Solution: Make horizontal mouse scroll also work in a terminal. (Christopher Plewright, closes #11448)
author Bram Moolenaar <Bram@vim.org>
date Tue, 15 Nov 2022 18:45:03 +0100
parents e3d5781c7ec6
children cc0c4141fb73
line wrap: on
line diff
--- a/src/normal.c
+++ b/src/normal.c
@@ -3047,7 +3047,7 @@ nv_hor_scrollbar(cmdarg_T *cap)
 	clearopbeep(cap->oap);
 
     // Even if an operator was pending, we still want to scroll
-    gui_do_horiz_scroll(scrollbar_value, FALSE);
+    do_mousescroll_horiz(scrollbar_value);
 }
 #endif