summaryrefslogtreecommitdiffstats
path: root/src/normal.c
diff options
context:
space:
mode:
authorChristopher Plewright <chris@createng.com>2022-11-15 17:43:36 +0000
committerBram Moolenaar <Bram@vim.org>2022-11-15 17:43:36 +0000
commit44c2209352d56d70b1fc0215e81f1822d55aa563 (patch)
treedd661ecd7da672fb21525ba175aa177875f47e6d /src/normal.c
parentb53a190e9f8a767bbd4be2f538649a09f9c8ba4b (diff)
patch 9.0.0886: horizontal mouse scroll only works in the GUIv9.0.0886
Problem: Horizontal mouse scroll only works in the GUI. Solution: Make horizontal mouse scroll also work in a terminal. (Christopher Plewright, closes #11448)
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 7b47f18a4c..79f1686172 100644
--- 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