Do not create a buffer from an OSC 52 response if we have not sent a

query.
This commit is contained in:
nicm
2022-02-15 13:03:02 +00:00
parent 040164555a
commit f85208602d
4 changed files with 35 additions and 3 deletions

View File

@ -225,7 +225,7 @@ cmd_refresh_client_exec(struct cmd *self, struct cmdq_item *item)
}
if (args_has(args, 'l')) {
tty_putcode_ptr2(&tc->tty, TTYC_MS, "", "?");
tty_send_osc52_query(&tc->tty);
return (CMD_RETURN_NORMAL);
}