]> granicus.if.org Git - vim/commitdiff
patch 8.0.1068: vandyke SecureCRT terminal can't handle cursor mode request v8.0.1068
authorBram Moolenaar <Bram@vim.org>
Thu, 7 Sep 2017 10:59:25 +0000 (12:59 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 7 Sep 2017 10:59:25 +0000 (12:59 +0200)
Problem:    Vandyke SecureCRT terminal can't handle cursor mode request.
            (Steven Hartland)
Solution:   Fix pointer computation. (closes #2008)

src/term.c
src/version.c

index f2ffcc1c14bc2269d27769dce450c7b28f1e3e24..aedcc198824b1ce0c0b13cf38b059096049728dc 100644 (file)
@@ -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 */
index 2ce3d26d37403bb1a95822b82b84029a08f11e00..7ba7232095b990dae0e76e8c360691bbd49e788c 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1068,
 /**/
     1067,
 /**/