0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

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)
This commit is contained in:
Christopher Plewright
2022-11-15 17:43:36 +00:00
committed by Bram Moolenaar
parent b53a190e9f
commit 44c2209352
10 changed files with 234 additions and 247 deletions

View File

@@ -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