comparison src/keymap.h @ 11557:7e5e76d8d451 v8.0.0661

patch 8.0.0661: recognizing urxvt mouse codes does not work well commit https://github.com/vim/vim/commit/a529ce068ba84d53343f3732b6a1ed4ad1fe3a68 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 22 22:37:57 2017 +0200 patch 8.0.0661: recognizing urxvt mouse codes does not work well Problem: Recognizing urxvt mouse codes does not work well. Solution: Recognize "Esc[*M" and "Esc[*m". (Maurice Bos, closes https://github.com/vim/vim/issues/1486)
author Christian Brabandt <cb@256bit.org>
date Thu, 22 Jun 2017 22:45:04 +0200
parents 2025bec9175f
children 1a6daa73590a
comparison
equal deleted inserted replaced
11556:92e04864687e 11557:7e5e76d8d451
110 /* Used for the urxvt mouse. */ 110 /* Used for the urxvt mouse. */
111 #define KS_URXVT_MOUSE 238 111 #define KS_URXVT_MOUSE 238
112 112
113 /* Used for the sgr mouse. */ 113 /* Used for the sgr mouse. */
114 #define KS_SGR_MOUSE 237 114 #define KS_SGR_MOUSE 237
115 #define KS_SGR_MOUSE_RELEASE 236 /* Release */
115 116
116 /* 117 /*
117 * Filler used after KS_SPECIAL and others 118 * Filler used after KS_SPECIAL and others
118 */ 119 */
119 #define KE_FILLER ('X') 120 #define KE_FILLER ('X')
414 #define K_DEC_MOUSE TERMCAP2KEY(KS_DEC_MOUSE, KE_FILLER) 415 #define K_DEC_MOUSE TERMCAP2KEY(KS_DEC_MOUSE, KE_FILLER)
415 #define K_JSBTERM_MOUSE TERMCAP2KEY(KS_JSBTERM_MOUSE, KE_FILLER) 416 #define K_JSBTERM_MOUSE TERMCAP2KEY(KS_JSBTERM_MOUSE, KE_FILLER)
416 #define K_PTERM_MOUSE TERMCAP2KEY(KS_PTERM_MOUSE, KE_FILLER) 417 #define K_PTERM_MOUSE TERMCAP2KEY(KS_PTERM_MOUSE, KE_FILLER)
417 #define K_URXVT_MOUSE TERMCAP2KEY(KS_URXVT_MOUSE, KE_FILLER) 418 #define K_URXVT_MOUSE TERMCAP2KEY(KS_URXVT_MOUSE, KE_FILLER)
418 #define K_SGR_MOUSE TERMCAP2KEY(KS_SGR_MOUSE, KE_FILLER) 419 #define K_SGR_MOUSE TERMCAP2KEY(KS_SGR_MOUSE, KE_FILLER)
420 #define K_SGR_MOUSERELEASE TERMCAP2KEY(KS_SGR_MOUSE_RELEASE, KE_FILLER)
419 421
420 #define K_SELECT TERMCAP2KEY(KS_SELECT, KE_FILLER) 422 #define K_SELECT TERMCAP2KEY(KS_SELECT, KE_FILLER)
421 #define K_TEAROFF TERMCAP2KEY(KS_TEAROFF, KE_FILLER) 423 #define K_TEAROFF TERMCAP2KEY(KS_TEAROFF, KE_FILLER)
422 424
423 #define K_TABLINE TERMCAP2KEY(KS_TABLINE, KE_FILLER) 425 #define K_TABLINE TERMCAP2KEY(KS_TABLINE, KE_FILLER)