summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-06 22:08:16 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-06 22:08:16 +0200
commit2e49b6b20c3d7229edf41ac03931ce32ce0f7bd8 (patch)
treecd03141615cecb8fee882cae98d7d094a3103fa7
parentc35e4cb4fe3ce524d15ac9fdc9a8aa923761bdfd (diff)
patch 8.0.1066: some terminals can't handle requesting cursor modev8.0.1066
Problem: Some terminals can't handle requesting cursor mode. (Steven Hartland) Solution: Recognize vandyke SecureCRT. (closes #2008)
-rw-r--r--src/term.c5
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c
index 7fa08c3dbd..f2ffcc1c14 100644
--- 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
index 223ecf8c46..a3ab6edf54 100644
--- 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,