Mercurial > vim
diff src/proto/mouse.pro @ 31103:33ca088dbd3e v9.0.0886
patch 9.0.0886: horizontal mouse scroll only works in the GUI
Commit: https://github.com/vim/vim/commit/44c2209352d56d70b1fc0215e81f1822d55aa563
Author: Christopher Plewright <chris@createng.com>
Date: Tue Nov 15 17:43:36 2022 +0000
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 15 Nov 2022 18:45:03 +0100 |
parents | eb51299c4bfc |
children | 759b181807f7 |
line wrap: on
line diff
--- a/src/proto/mouse.pro +++ b/src/proto/mouse.pro @@ -14,6 +14,8 @@ int mouse_has(int c); int mouse_model_popup(void); void reset_dragwin(void); int jump_to_mouse(int flags, int *inclusive, int which_button); +int do_mousescroll_horiz(long_u leftcol); +void do_mousescroll(int mode, cmdarg_T *cap); void nv_mousescroll(cmdarg_T *cap); void nv_mouse(cmdarg_T *cap); void reset_held_button(void);