changeset 12377:5d543a5fb223 v8.0.1068

patch 8.0.1068: vandyke SecureCRT terminal can't handle cursor mode request commit https://github.com/vim/vim/commit/618d6d277e7b64ea03fcefdd75d673e8973b46c4 Author: Bram Moolenaar <Bram@vim.org> 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)
author Christian Brabandt <cb@256bit.org>
date Thu, 07 Sep 2017 13:00:06 +0200
parents 9e28f47e15b2
children 46c3e92ab77a
files src/term.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 */
--- 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,