comparison src/term.c @ 4115:ad21448af931 v7.3.811

updated for version 7.3.811 Problem: Useless termresponse parsing for SGR mouse. Solution: Skip the parsing. (Hayaki Saito)
author Bram Moolenaar <bram@vim.org>
date Wed, 13 Feb 2013 15:53:19 +0100
parents aab4b29520e7
children ff193256398a
comparison
equal deleted inserted replaced
4114:62d3e3fbcd7e 4115:ad21448af931
4043 } 4043 }
4044 4044
4045 #ifdef FEAT_TERMRESPONSE 4045 #ifdef FEAT_TERMRESPONSE
4046 if (key_name[0] == NUL 4046 if (key_name[0] == NUL
4047 /* URXVT mouse uses <ESC>[#;#;#M, but we are matching <ESC>[ */ 4047 /* URXVT mouse uses <ESC>[#;#;#M, but we are matching <ESC>[ */
4048 || key_name[0] == KS_URXVT_MOUSE 4048 || key_name[0] == KS_URXVT_MOUSE)
4049 || key_name[0] == KS_SGR_MOUSE)
4050 { 4049 {
4051 /* Check for xterm version string: "<Esc>[>{x};{vers};{y}c". Also 4050 /* Check for xterm version string: "<Esc>[>{x};{vers};{y}c". Also
4052 * eat other possible responses to t_RV, rxvt returns 4051 * eat other possible responses to t_RV, rxvt returns
4053 * "<Esc>[?1;2c". Also accept CSI instead of <Esc>[. 4052 * "<Esc>[?1;2c". Also accept CSI instead of <Esc>[.
4054 * mrxvt has been reported to have "+" in the version. Assume 4053 * mrxvt has been reported to have "+" in the version. Assume