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)
diff --git a/src/edit.c b/src/edit.c
index 555b83b..cf114d8 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -4499,7 +4499,7 @@
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;