mirror of
https://github.com/tmux/tmux.git
synced 2025-11-05 10:26:04 +00:00
If tmux receives a palette request (OSC 4) in a pane and the palette
entry has not been set, send a request to the most recently used client and forward any response instead. Based on change from Tim Culverhouse in GitHub issue 4665.
This commit is contained in:
6
tty.c
6
tty.c
@@ -414,10 +414,12 @@ tty_repeat_requests(struct tty *tty, int force)
|
||||
return;
|
||||
|
||||
if (!force && n <= TTY_REQUEST_LIMIT) {
|
||||
log_debug("%s: not repeating requests (%u seconds)", c->name, n);
|
||||
log_debug("%s: not repeating requests (%u seconds)", c->name,
|
||||
n);
|
||||
return;
|
||||
}
|
||||
log_debug("%s: %srepeating requests (%u seconds)", c->name, force ? "(force) " : "" , n);
|
||||
log_debug("%s: %srepeating requests (%u seconds)", c->name,
|
||||
force ? "(force) " : "" , n);
|
||||
tty->last_requests = t;
|
||||
|
||||
if (tty->term->flags & TERM_VT100LIKE) {
|
||||
|
||||
Reference in New Issue
Block a user