# HG changeset patch # User Christian Brabandt # Date 1504728904 -7200 # Node ID 71524e1a717bf6f9b066046948d524ed14e38629 # Parent fca8dbbf77daf8378a879df8fdc13863ba5e21f6 patch 8.0.1066: some terminals can't handle requesting cursor mode commit https://github.com/vim/vim/commit/2e49b6b20c3d7229edf41ac03931ce32ce0f7bd8 Author: Bram Moolenaar Date: Wed Sep 6 22:08:16 2017 +0200 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) diff --git a/src/term.c b/src/term.c --- a/src/term.c +++ b/src/term.c @@ -4580,9 +4580,10 @@ check_termcode( if (col >= 2500) is_not_xterm = TRUE; - /* PuTTY sends 0;136;0 */ + /* PuTTY sends 0;136;0 + * vandyke SecureCRT sends 1;136;0 */ if (version == 136 - && STRNCMP(tp + extra - 2, "0;136;0c", 8) == 0) + && STRNCMP(tp + extra - 3, ";136;0c", 8) == 0) is_not_xterm = TRUE; /* Konsole sends 0;115;0 */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1066, +/**/ 1065, /**/ 1064,