diff options
author | nicm <nicm> | 2019-03-14 09:53:52 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-03-14 09:53:52 +0000 |
commit | 13f9a061acd966757ae2f42c3a8ac24765ac65bd (patch) | |
tree | aaf112dfe439c6317ed449651db77285ac601566 /input.c | |
parent | 1e9f8a3523ac93203036bd4a3740674a91fc4f1c (diff) | |
download | rtmux-13f9a061acd966757ae2f42c3a8ac24765ac65bd.tar.gz rtmux-13f9a061acd966757ae2f42c3a8ac24765ac65bd.tar.bz2 rtmux-13f9a061acd966757ae2f42c3a8ac24765ac65bd.zip |
Add a wrapper (struct style) around styles rather than using the
grid_cell directly. There will be some non-cell members soon.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2340,7 +2340,7 @@ input_osc_10(struct input_ctx *ictx, const char *p) if (sscanf(p, "rgb:%2x/%2x/%2x", &r, &g, &b) != 3) goto bad; - wp->colgc.fg = colour_join_rgb(r, g, b); + wp->style.gc.fg = colour_join_rgb(r, g, b); wp->flags |= PANE_REDRAW; return; @@ -2359,7 +2359,7 @@ input_osc_11(struct input_ctx *ictx, const char *p) if (sscanf(p, "rgb:%2x/%2x/%2x", &r, &g, &b) != 3) goto bad; - wp->colgc.bg = colour_join_rgb(r, g, b); + wp->style.gc.bg = colour_join_rgb(r, g, b); wp->flags |= PANE_REDRAW; return; |