summaryrefslogtreecommitdiffstats
path: root/src/ex_getln.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/ex_getln.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/ex_getln.c')
-rw-r--r--src/ex_getln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 770daa9525..d3119baf25 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -2221,7 +2221,7 @@ getcmdline_int(
case K_HOR_SCROLLBAR:
if (msg_scrolled == 0)
{
- gui_do_horiz_scroll(scrollbar_value, FALSE);
+ do_mousescroll_horiz(scrollbar_value);
redrawcmd();
}
goto cmdline_not_changed;