1
0
forked from aniani/vim

patch 8.0.1066: some terminals can't handle requesting cursor mode

Problem:    Some terminals can't handle requesting cursor mode. (Steven
            Hartland)
Solution:   Recognize vandyke SecureCRT. (closes #2008)
This commit is contained in:
Bram Moolenaar
2017-09-06 22:08:16 +02:00
parent c35e4cb4fe
commit 2e49b6b20c
2 changed files with 5 additions and 2 deletions

View File

@@ -4580,9 +4580,10 @@ check_termcode(
if (col >= 2500) if (col >= 2500)
is_not_xterm = TRUE; is_not_xterm = TRUE;
/* PuTTY sends 0;136;0 */ /* PuTTY sends 0;136;0
* vandyke SecureCRT sends 1;136;0 */
if (version == 136 if (version == 136
&& STRNCMP(tp + extra - 2, "0;136;0c", 8) == 0) && STRNCMP(tp + extra - 3, ";136;0c", 8) == 0)
is_not_xterm = TRUE; is_not_xterm = TRUE;
/* Konsole sends 0;115;0 */ /* Konsole sends 0;115;0 */

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1066,
/**/ /**/
1065, 1065,
/**/ /**/