Skip to content

Commit 618d6d2

Browse files
committed
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)
1 parent e723c42 commit 618d6d2

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/term.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4583,7 +4583,7 @@ check_termcode(
45834583
/* PuTTY sends 0;136;0
45844584
* vandyke SecureCRT sends 1;136;0 */
45854585
if (version == 136
4586-
&& STRNCMP(tp + extra - 3, ";136;0c", 8) == 0)
4586+
&& STRNCMP(tp + extra - 1, ";136;0c", 7) == 0)
45874587
is_not_xterm = TRUE;
45884588

45894589
/* Konsole sends 0;115;0 */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
1068,
772774
/**/
773775
1067,
774776
/**/

0 commit comments

Comments
 (0)