comparison src/term.c @ 12283:decfedf9138d v8.0.1021

patch 8.0.1021: older Gnome terminal still echoes t_RC commit https://github.com/vim/vim/commit/dc5471d482c372f547006325d7c8f16d6cc9d371 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 30 18:59:03 2017 +0200 patch 8.0.1021: older Gnome terminal still echoes t_RC Problem: Older Gnome terminal still echoes t_RC. (Fracois Ingelrest) Solution: Check for version > 3000 instead of 4000.
author Christian Brabandt <cb@256bit.org>
date Wed, 30 Aug 2017 19:00:06 +0200
parents c952a6af25e0
children 270256b6d0b8
comparison
equal deleted inserted replaced
12282:e10600614c14 12283:decfedf9138d
4560 /* Mac Terminal.app sends 1;95;0 */ 4560 /* Mac Terminal.app sends 1;95;0 */
4561 if (col == 95 4561 if (col == 95
4562 && STRNCMP(tp + extra - 2, "1;95;0c", 7) == 0) 4562 && STRNCMP(tp + extra - 2, "1;95;0c", 7) == 0)
4563 is_not_xterm = TRUE; 4563 is_not_xterm = TRUE;
4564 # endif 4564 # endif
4565 /* Gnome Terminal.app sends 1;4402;0, assuming any 4565 /* Gnome Terminal.app sends 1;3801;0 or 1;4402;0,
4566 * version number over 4000 is not an xterm. */ 4566 * assuming any version number over 3000 is not an
4567 if (col >= 4000) 4567 * xterm. */
4568 if (col >= 3000)
4568 is_not_xterm = TRUE; 4569 is_not_xterm = TRUE;
4569 4570
4570 /* Only request the cursor style if t_SH and t_RS are 4571 /* Only request the cursor style if t_SH and t_RS are
4571 * set. Not for Terminal.app, it can't handle t_RS, it 4572 * set. Not for Terminal.app, it can't handle t_RS, it
4572 * echoes the characters to the screen. */ 4573 * echoes the characters to the screen. */