# HG changeset patch # User Christian Brabandt # Date 1504782006 -7200 # Node ID 5d543a5fb223deabbaf14fd73e5bc10dc2d8d389 # Parent 9e28f47e15b200a64b02089bb2dc286348278810 patch 8.0.1068: vandyke SecureCRT terminal can't handle cursor mode request commit https://github.com/vim/vim/commit/618d6d277e7b64ea03fcefdd75d673e8973b46c4 Author: Bram Moolenaar Date: Thu Sep 7 12:59:25 2017 +0200 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) diff --git a/src/term.c b/src/term.c --- 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 --- 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,