Skip to content

Commit 2e49b6b

Browse files
committed
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)
1 parent c35e4cb commit 2e49b6b

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/term.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4580,9 +4580,10 @@ check_termcode(
45804580
if (col >= 2500)
45814581
is_not_xterm = TRUE;
45824582

4583-
/* PuTTY sends 0;136;0 */
4583+
/* PuTTY sends 0;136;0
4584+
* vandyke SecureCRT sends 1;136;0 */
45844585
if (version == 136
4585-
&& STRNCMP(tp + extra - 2, "0;136;0c", 8) == 0)
4586+
&& STRNCMP(tp + extra - 3, ";136;0c", 8) == 0)
45864587
is_not_xterm = TRUE;
45874588

45884589
/* 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+
1066,
772774
/**/
773775
1065,
774776
/**/

0 commit comments

Comments
 (0)