aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-01-15 14:02:37 +0000
committerThomas Adam <thomas@xteddy.org>2019-01-15 14:02:37 +0000
commitcd8a7fb07b72ae525f3389ca4ac15eb0653d3af8 (patch)
tree728f2c7ce74a3e937d1413a8f72ab026dbbc8043
parent469a9e94397b1099ee08cbf1d9ba4866a3d898b4 (diff)
parentcd39920abdadb065ea4651dbd0c1f692dd6d555f (diff)
downloadrtmux-cd8a7fb07b72ae525f3389ca4ac15eb0653d3af8.tar.gz
rtmux-cd8a7fb07b72ae525f3389ca4ac15eb0653d3af8.tar.bz2
rtmux-cd8a7fb07b72ae525f3389ca4ac15eb0653d3af8.zip
Merge branch 'obsd-master'
-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;
}
}
}