diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-10-22 16:41:47 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-10-22 16:41:47 +0000 |
| commit | 4283e96865e79977f446b762733da47c829301bb (patch) | |
| tree | f045a47bfef8c8b4c228cc95dc50b799c6b6f1b3 /render.c | |
| parent | Merge branch 'custom-bold-italic-fonts' (diff) | |
render: blink switches between foreground and dimmed foreground
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -399,9 +399,6 @@ render_cell(struct terminal *term, pixman_image_t *pix, } } - if (cell->attrs.blink && term->blink.state == BLINK_OFF) - _fg = _bg; - pixman_color_t fg = color_hex_to_pixman(_fg); pixman_color_t bg = color_hex_to_pixman_with_alpha( _bg, @@ -411,6 +408,9 @@ render_cell(struct terminal *term, pixman_image_t *pix, if (cell->attrs.dim) color_dim(&fg); + if (cell->attrs.blink && term->blink.state == BLINK_OFF) + color_dim(&fg); + if (term->is_searching && !is_selected) { color_dim_for_search(&fg); color_dim_for_search(&bg); |
