diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-22 20:55:06 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-22 20:55:06 +0000 |
| commit | f9854d93cf645b07a3326d729b5850f1a14041d5 (patch) | |
| tree | 0b70bb7c45785b50dff10fa8f67301d0202461ff /osc.c | |
| parent | meson: bump version to 1.10.0 (diff) | |
| parent | Merge branch 'osc8-overwrite-2' (diff) | |
Merge branch 'master' into releases/1.10
Diffstat (limited to 'osc.c')
| -rw-r--r-- | osc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -503,7 +503,7 @@ osc_notify(struct terminal *term, char *string) * (https://pub.phyks.me/scripts/urxvt/notify) is very simple: * * #!/usr/bin/perl - * + * * sub on_osc_seq_perl { * my ($term, $osc, $resp) = @_; * if ($osc =~ /^notify;(\S+);(.*)$/) { @@ -560,7 +560,7 @@ update_color_in_grids(struct terminal *term, uint32_t old_color, for (size_t c = 0; c < term->grid->num_cols; c++) { struct cell *cell = &row->cells[c]; - if (cell->attrs.have_fg && + if (cell->attrs.fg_src != COLOR_DEFAULT && cell->attrs.fg == old_color) { cell->attrs.fg = new_color; @@ -568,7 +568,7 @@ update_color_in_grids(struct terminal *term, uint32_t old_color, row->dirty = true; } - if ( cell->attrs.have_bg && + if (cell->attrs.bg_src != COLOR_DEFAULT && cell->attrs.bg == old_color) { cell->attrs.bg = new_color; |
