mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: hackerman
This commit is contained in:
parent
729974492d
commit
6d48f0f2a5
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -55,7 +55,7 @@ render_cell(struct terminal *term, struct buffer *buf, const struct cell *cell,
|
|||
: !term->reverse ? &term->background : &term->foreground;
|
||||
|
||||
/* If *one* is set, we reverse */
|
||||
if (has_cursor != cell->attrs.reverse) {
|
||||
if (has_cursor ^ cell->attrs.reverse) {
|
||||
const struct rgb *swap = foreground;
|
||||
foreground = background;
|
||||
background = swap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue