diff options
author | nicm <nicm> | 2022-02-15 13:03:02 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-06 14:19:49 +0100 |
commit | 190b88fcabc413485584bffed6d8ed8b61db1b1f (patch) | |
tree | 9fba11c623e2742c50966bfff2d25abe52a7ed8a /tmux.h | |
parent | 2adbe3ec1606806e31c74507cfa0225327e27225 (diff) | |
download | rtmux-190b88fcabc413485584bffed6d8ed8b61db1b1f.tar.gz rtmux-190b88fcabc413485584bffed6d8ed8b61db1b1f.tar.bz2 rtmux-190b88fcabc413485584bffed6d8ed8b61db1b1f.zip |
Do not create a buffer from an OSC 52 response if we have not sent a
query.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1278,6 +1278,7 @@ LIST_HEAD(tty_terms, tty_term); struct tty { struct client *client; struct event start_timer; + struct event query_timer; u_int sx; u_int sy; @@ -1321,7 +1322,7 @@ struct tty { #define TTY_NOBLOCK 0x8 #define TTY_STARTED 0x10 #define TTY_OPENED 0x20 -/* 0x40 unused */ +#define TTY_OSC52QUERY 0x40 #define TTY_BLOCK 0x80 #define TTY_HAVEDA 0x100 #define TTY_HAVEXDA 0x200 @@ -2174,6 +2175,7 @@ void tty_reset(struct tty *); void tty_region_off(struct tty *); void tty_margin_off(struct tty *); void tty_cursor(struct tty *, u_int, u_int); +void tty_send_osc52_query(struct tty *); void tty_putcode(struct tty *, enum tty_code_code); void tty_putcode1(struct tty *, enum tty_code_code, int); void tty_putcode2(struct tty *, enum tty_code_code, int, int); |