0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -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

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