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
index f2ffcc1..aedcc19 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4583,7 +4583,7 @@
/* 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 2ce3d26..7ba7232 100644
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1068,
+/**/
1067,
/**/
1066,