Skip to content

Commit

Permalink
apply configured foreground to selections
Browse files Browse the repository at this point in the history
fixes #1151: Set foreground color for visual selection
  • Loading branch information
rnpnr committed Oct 17, 2023
1 parent be89a64 commit 947ea1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
Expand Down

0 comments on commit 947ea1c

Please sign in to comment.