summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-07 12:59:25 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-07 12:59:25 +0200
commit618d6d277e7b64ea03fcefdd75d673e8973b46c4 (patch)
tree61037389d47d86419019e6ca12dec9a230bba718
parente723c42836d971180d1bf9f98916966c5543fff1 (diff)
patch 8.0.1068: vandyke SecureCRT terminal can't handle cursor mode requestv8.0.1068
Problem: Vandyke SecureCRT terminal can't handle cursor mode request. (Steven Hartland) Solution: Fix pointer computation. (closes #2008)
-rw-r--r--src/term.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index f2ffcc1c14..aedcc19882 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4583,7 +4583,7 @@ check_termcode(
/* PuTTY sends 0;136;0
* vandyke SecureCRT sends 1;136;0 */
if (version == 136
- && STRNCMP(tp + extra - 3, ";136;0c", 8) == 0)
+ && STRNCMP(tp + extra - 1, ";136;0c", 7) == 0)
is_not_xterm = TRUE;
/* Konsole sends 0;115;0 */
diff --git a/src/version.c b/src/version.c
index 2ce3d26d37..7ba7232095 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 */
/**/
+ 1068,
+/**/
1067,
/**/
1066,