patch 8.0.1066: some terminals can't handle requesting cursor mode
Problem: Some terminals can't handle requesting cursor mode. (Steven
Hartland)
Solution: Recognize vandyke SecureCRT. (closes #2008)
diff --git a/src/term.c b/src/term.c
index 7fa08c3..f2ffcc1 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4580,9 +4580,10 @@
if (col >= 2500)
is_not_xterm = TRUE;
- /* PuTTY sends 0;136;0 */
+ /* PuTTY sends 0;136;0
+ * vandyke SecureCRT sends 1;136;0 */
if (version == 136
- && STRNCMP(tp + extra - 2, "0;136;0c", 8) == 0)
+ && STRNCMP(tp + extra - 3, ";136;0c", 8) == 0)
is_not_xterm = TRUE;
/* Konsole sends 0;115;0 */