Mercurial > vim
comparison src/term.c @ 12373:71524e1a717b v8.0.1066
patch 8.0.1066: some terminals can't handle requesting cursor mode
commit https://github.com/vim/vim/commit/2e49b6b20c3d7229edf41ac03931ce32ce0f7bd8
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 6 22:08:16 2017 +0200
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 06 Sep 2017 22:15:04 +0200 |
parents | c83669fb7601 |
children | 5d543a5fb223 |
comparison
equal
deleted
inserted
replaced
12372:fca8dbbf77da | 12373:71524e1a717b |
---|---|
4578 * Assuming any version number over 2500 is not an | 4578 * Assuming any version number over 2500 is not an |
4579 * xterm (without the limit for rxvt and screen). */ | 4579 * xterm (without the limit for rxvt and screen). */ |
4580 if (col >= 2500) | 4580 if (col >= 2500) |
4581 is_not_xterm = TRUE; | 4581 is_not_xterm = TRUE; |
4582 | 4582 |
4583 /* PuTTY sends 0;136;0 */ | 4583 /* PuTTY sends 0;136;0 |
4584 * vandyke SecureCRT sends 1;136;0 */ | |
4584 if (version == 136 | 4585 if (version == 136 |
4585 && STRNCMP(tp + extra - 2, "0;136;0c", 8) == 0) | 4586 && STRNCMP(tp + extra - 3, ";136;0c", 8) == 0) |
4586 is_not_xterm = TRUE; | 4587 is_not_xterm = TRUE; |
4587 | 4588 |
4588 /* Konsole sends 0;115;0 */ | 4589 /* Konsole sends 0;115;0 */ |
4589 if (version == 115 | 4590 if (version == 115 |
4590 && STRNCMP(tp + extra - 2, "0;115;0c", 8) == 0) | 4591 && STRNCMP(tp + extra - 2, "0;115;0c", 8) == 0) |