summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-07 12:59:25 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-07 12:59:25 +0200
commit618d6d277e7b64ea03fcefdd75d673e8973b46c4 (patch)
tree61037389d47d86419019e6ca12dec9a230bba718 /src/term.c
parente723c42836d971180d1bf9f98916966c5543fff1 (diff)
downloadvim-git-618d6d277e7b64ea03fcefdd75d673e8973b46c4.tar.gz
patch 8.0.1068: vandyke SecureCRT terminal can't handle cursor mode requestv8.0.1068
Problem: Vandyke SecureCRT terminal can't handle cursor mode request. (Steven Hartland) Solution: Fix pointer computation. (closes #2008)
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 */