aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index df47c972..b0aa190a 100644
--- a/tty.c
+++ b/tty.c
@@ -2240,7 +2240,7 @@ tty_colours(struct tty *tty, const struct grid_cell *gc)
tty_puts(tty, "\033[49m");
else if (tc->bg != 0)
tty_putcode1(tty, TTYC_SETAB, 0);
- tc->bg = gc->fg;
+ tc->bg = gc->bg;
}
}
}