comparison src/normal.c @ 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 e3d5781c7ec6
children cc0c4141fb73
comparison
equal deleted inserted replaced
31102:71da2abdd899 31103:33ca088dbd3e
3045 { 3045 {
3046 if (cap->oap->op_type != OP_NOP) 3046 if (cap->oap->op_type != OP_NOP)
3047 clearopbeep(cap->oap); 3047 clearopbeep(cap->oap);
3048 3048
3049 // Even if an operator was pending, we still want to scroll 3049 // Even if an operator was pending, we still want to scroll
3050 gui_do_horiz_scroll(scrollbar_value, FALSE); 3050 do_mousescroll_horiz(scrollbar_value);
3051 } 3051 }
3052 #endif 3052 #endif
3053 3053
3054 #if defined(FEAT_GUI_TABLINE) || defined(PROTO) 3054 #if defined(FEAT_GUI_TABLINE) || defined(PROTO)
3055 /* 3055 /*