summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index f2ffcc1c1..aedcc1988 100644
--- 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 */