File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -5195,10 +5195,13 @@ check_termcode(
51955195# ifdef FEAT_GUI
51965196 & & !gui .in_use
51975197# endif
5198- & & (mouse_code == 0x23 || mouse_code == 0x24 ))
5198+ & & (mouse_code == 0x23 || mouse_code == 0x24
5199+ || mouse_code == 0x40 || mouse_code == 0x41 ))
51995200 {
5200- /* Apparently used by rxvt scroll wheel. */
5201- wheel_code = mouse_code - 0x23 + MOUSEWHEEL_LOW ;
5201+ /* Apparently 0x23 and 0x24 are used by rxvt scroll wheel.
5202+ * And 0x40 and 0x41 are used by some xterm emulator. */
5203+ wheel_code = mouse_code - (mouse_code >= 0x40 ? 0x40 : 0x23 )
5204+ + MOUSEWHEEL_LOW ;
52025205 }
52035206# endif
52045207
Original file line number Diff line number Diff line change @@ -762,6 +762,8 @@ static char *(features[]) =
762762
763763static int included_patches [] =
764764{ /* Add new patch number below this line */
765+ /**/
766+ 1659 ,
765767/**/
766768 1658 ,
767769/**/
You can’t perform that action at this time.
0 commit comments