diff options
author | nicm <nicm> | 2020-05-16 14:16:25 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-16 14:16:25 +0000 |
commit | 9dd58470e41bfb5b9d74028eed73f502e71152f0 (patch) | |
tree | 059f11d5a79e7bc9f0d3c954725a96206608e92b /tty.c | |
parent | 471f697423df33d535a7cc1fac5f01f718969e34 (diff) | |
download | rtmux-9dd58470e41bfb5b9d74028eed73f502e71152f0.tar.gz rtmux-9dd58470e41bfb5b9d74028eed73f502e71152f0.tar.bz2 rtmux-9dd58470e41bfb5b9d74028eed73f502e71152f0.zip |
Remove support for iTerm2's DSR 1337 extension and use the CSI > q
extension now supported by a few different terminals.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -287,7 +287,7 @@ tty_start_timer_callback(__unused int fd, __unused short events, void *data) struct client *c = tty->client; log_debug("%s: start timer fired", c->name); - tty->flags |= (TTY_HAVEDA|TTY_HAVEDSR); + tty->flags |= (TTY_HAVEDA|TTY_HAVEXDA); } void @@ -361,10 +361,10 @@ tty_send_requests(struct tty *tty) if (tty_term_flag(tty->term, TTYC_XT)) { if (~tty->flags & TTY_HAVEDA) tty_puts(tty, "\033[>c"); - if (~tty->flags & TTY_HAVEDSR) - tty_puts(tty, "\033[1337n"); + if (~tty->flags & TTY_HAVEXDA) + tty_puts(tty, "\033[>q"); } else - tty->flags |= (TTY_HAVEDA|TTY_HAVEDSR); + tty->flags |= (TTY_HAVEDA|TTY_HAVEXDA); } void |