diff options
author | nicm <nicm> | 2021-10-25 09:38:36 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-10-25 09:38:36 +0000 |
commit | ef46eb91a5e0b6e2b023544f45dbc98c8fe1377f (patch) | |
tree | 3d1e7eb8f3a6366f09c2fcc276233843e2975775 /screen-write.c | |
parent | 0cca695d6e75426e295e03668a4ed35ee62afe7c (diff) | |
download | rtmux-ef46eb91a5e0b6e2b023544f45dbc98c8fe1377f.tar.gz rtmux-ef46eb91a5e0b6e2b023544f45dbc98c8fe1377f.tar.bz2 rtmux-ef46eb91a5e0b6e2b023544f45dbc98c8fe1377f.zip |
Add -s and -S to display-popup to set popup and border style, from
Alexis Hildebrandt in GitHub issue 2931.
Diffstat (limited to 'screen-write.c')
-rw-r--r-- | screen-write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/screen-write.c b/screen-write.c index 251ca823..cead12d4 100644 --- a/screen-write.c +++ b/screen-write.c @@ -184,9 +184,9 @@ screen_write_initctx(struct screen_write_ctx *ctx, struct tty_ctx *ttyctx, if (ctx->init_ctx_cb != NULL) { ctx->init_ctx_cb(ctx, ttyctx); if (ttyctx->palette != NULL) { - if (COLOUR_DEFAULT(ttyctx->defaults.fg)) + if (ttyctx->defaults.fg == 8) ttyctx->defaults.fg = ttyctx->palette->fg; - if (COLOUR_DEFAULT(ttyctx->defaults.bg)) + if (ttyctx->defaults.bg == 8) ttyctx->defaults.bg = ttyctx->palette->bg; } } else { |