diff options
author | Tiago Cunha <tcunha@gmx.com> | 2012-03-18 01:55:45 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2012-03-18 01:55:45 +0000 |
commit | 070d266aae6dd309d3fb9c4fab7d30f0fbc88854 (patch) | |
tree | d31640c8955a0e92359fed73be52586703bf79e3 /tty.c | |
parent | 3b990ef6b20a5273a1f0c555cfa812d65312ceae (diff) | |
download | rtmux-070d266aae6dd309d3fb9c4fab7d30f0fbc88854.tar.gz rtmux-070d266aae6dd309d3fb9c4fab7d30f0fbc88854.tar.bz2 rtmux-070d266aae6dd309d3fb9c4fab7d30f0fbc88854.zip |
Sync OpenBSD patchset 1054:
Send secondary DA to terminals with XT in terminfo when starting up and
parse it to work out the xterm version.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -211,6 +211,9 @@ tty_start_tty(struct tty *tty) if (tty_term_has(tty->term, TTYC_KMOUS)) tty_puts(tty, "\033[?1000l"); + if (tty_term_has(tty->term, TTYC_XT)) + tty_puts(tty, "\033[>c"); + tty->cx = UINT_MAX; tty->cy = UINT_MAX; |