diff options
author | Christopher Plewright <chris@createng.com> | 2022-11-15 17:43:36 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-15 17:43:36 +0000 |
commit | 44c2209352d56d70b1fc0215e81f1822d55aa563 (patch) | |
tree | dd661ecd7da672fb21525ba175aa177875f47e6d /src/edit.c | |
parent | b53a190e9f8a767bbd4be2f538649a09f9c8ba4b (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/edit.c')
-rw-r--r-- | src/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index 555b83bc31..cf114d8bd2 100644 --- a/src/edit.c +++ b/src/edit.c @@ -4499,7 +4499,7 @@ ins_horscroll(void) undisplay_dollar(); tpos = curwin->w_cursor; - if (gui_do_horiz_scroll(scrollbar_value, FALSE)) + if (do_mousescroll_horiz(scrollbar_value)) { start_arrow(&tpos); can_cindent = TRUE; |