aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorRandy Palamar <palamar@ualberta.ca>2023-10-17 05:48:18 -0600
committerRandy Palamar <palamar@ualberta.ca>2023-10-17 05:49:46 -0600
commit947ea1c8431b00cfc9ebbd300744d420b5736915 (patch)
treea9ab509c4f8abdadf64ff96ce3325e1b4af8b7fa /vis.c
parentbe89a6450ef92233ac8eacd120c49739bd37e65f (diff)
downloadvis-947ea1c8431b00cfc9ebbd300744d420b5736915.tar.gz
vis-947ea1c8431b00cfc9ebbd300744d420b5736915.tar.xz
apply configured foreground to selections
fixes #1151: Set foreground color for visual selection
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis.c b/vis.c
index 2a4d6ae..5f9d62c 100644
--- a/vis.c
+++ b/vis.c
@@ -385,6 +385,7 @@ static void window_draw_selection(View *view, Selection *cur, CellStyle *style)
}
} else {
l->cells[col].style.bg = style->bg;
+ l->cells[col].style.fg = style->fg;
}
col++;
}