mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-21 03:27:55 +03:00
...
This commit is contained in:
parent
8e0e70e2d6
commit
3cbca4955e
@ -3977,7 +3977,7 @@ get_line_edge_colors(Screen *self, color_type *left, color_type *right) {
|
||||
// Return the color at the left and right edges of the line with the cursor on it
|
||||
Line *line = range_line_(self, self->cursor->y);
|
||||
if (!line) return false;
|
||||
color_type left_cell_fg = 0, left_cell_bg = 0, right_cell_bg = 0, right_cell_fg = 0;
|
||||
color_type left_cell_fg = OPT(foreground), left_cell_bg = OPT(background), right_cell_bg = OPT(background), right_cell_fg = OPT(foreground);
|
||||
index_type cell_color_x = 0;
|
||||
char_type left_char = line_get_char(line, cell_color_x);
|
||||
colors_for_cell(line, self->color_profile, &cell_color_x, &left_cell_fg, &left_cell_bg);
|
||||
|
Loading…
Reference in New Issue
Block a user