diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-04-08 08:44:00 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-04-08 08:44:00 +0000 |
| commit | 0b3053f612af7ba0e91288c00f4468cf1a65d607 (patch) | |
| tree | c819d9c96dcf1ed1df9310b0abe40217e1416502 /render.c | |
| parent | Merge branch 'osc-11-alpha' (diff) | |
| parent | osc: implement OSC 17+19: change selection background/foreground colors (diff) | |
Merge branch 'osc-17-19'
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -416,9 +416,9 @@ render_cell(struct terminal *term, pixman_image_t *pix, uint32_t _fg = 0; uint32_t _bg = 0; - if (is_selected && term->conf->colors.use_custom.selection) { - _fg = term->conf->colors.selection_fg; - _bg = term->conf->colors.selection_bg; + if (is_selected && term->colors.use_custom_selection) { + _fg = term->colors.selection_fg; + _bg = term->colors.selection_bg; } else { /* Use cell specific color, if set, otherwise the default colors (possible reversed) */ _fg = cell->attrs.have_fg ? cell->attrs.fg : term->colors.fg; |
