aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Palamar <palamar@ualberta.ca>2023-10-17 09:16:43 -0600
committerRandy Palamar <palamar@ualberta.ca>2023-10-17 09:16:48 -0600
commit045ef7a102e86f85ea71864c6a12ecb90250f935 (patch)
treeadd3a3482aaa0f991b249e21ec39d3d800daa07a
parent947ea1c8431b00cfc9ebbd300744d420b5736915 (diff)
downloadvis-045ef7a102e86f85ea71864c6a12ecb90250f935.tar.gz
vis-045ef7a102e86f85ea71864c6a12ecb90250f935.tar.xz
apply configured foreground to matching pair
fixes #1151 (part 2): Set foreground color for matching pair
-rw-r--r--vis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis.c b/vis.c
index 5f9d62c..a26bccb 100644
--- a/vis.c
+++ b/vis.c
@@ -409,6 +409,7 @@ static void window_draw_cursor_matching(Win *win, Selection *cur, CellStyle *sty
line_match->cells[col_match].style.bg = old.fg;
} else {
line_match->cells[col_match].style.bg = style->bg;
+ line_match->cells[col_match].style.fg = style->fg;
}
}