From 618d6d277e7b64ea03fcefdd75d673e8973b46c4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 7 Sep 2017 12:59:25 +0200 Subject: [PATCH] patch 8.0.1068: vandyke SecureCRT terminal can't handle cursor mode request Problem: Vandyke SecureCRT terminal can't handle cursor mode request. (Steven Hartland) Solution: Fix pointer computation. (closes #2008) --- src/term.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/term.c b/src/term.c index f2ffcc1c1..aedcc1988 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 2ce3d26d3..7ba723209 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1068, /**/ 1067, /**/ -- 2.50.1