mirror of
https://github.com/tmux/tmux.git
synced 2025-12-22 07:16:06 +00:00
Set a PANE_STYLECHANGED flag for when a style update has to be sent.
This commit is contained in:
4
input.c
4
input.c
@@ -2795,7 +2795,7 @@ input_osc_11(struct input_ctx *ictx, const char *p)
|
||||
if (ictx->palette != NULL) {
|
||||
ictx->palette->bg = c;
|
||||
if (wp != NULL)
|
||||
wp->flags |= PANE_STYLECHANGED;
|
||||
wp->flags |= (PANE_STYLECHANGED|PANE_THEMECHANGED);
|
||||
screen_write_fullredraw(&ictx->ctx);
|
||||
}
|
||||
}
|
||||
@@ -2811,7 +2811,7 @@ input_osc_111(struct input_ctx *ictx, const char *p)
|
||||
if (ictx->palette != NULL) {
|
||||
ictx->palette->bg = 8;
|
||||
if (wp != NULL)
|
||||
wp->flags |= PANE_STYLECHANGED;
|
||||
wp->flags |= (PANE_STYLECHANGED|PANE_THEMECHANGED);
|
||||
screen_write_fullredraw(&ictx->ctx);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user