aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-02-06 20:01:15 +0000
committerThomas Adam <thomas@xteddy.org>2017-02-06 20:01:15 +0000
commit7417e391d5ab127adb6c598776547119f516bb7b (patch)
treefe721d25daee95d003d66157af1ec1faf6734252 /tty.c
parent1199f8fc59f34f474672cb95a781d3a817d05242 (diff)
parent10e14ae504df467234284a1040e91d48b41b2dd0 (diff)
downloadrtmux-7417e391d5ab127adb6c598776547119f516bb7b.tar.gz
rtmux-7417e391d5ab127adb6c598776547119f516bb7b.tar.bz2
rtmux-7417e391d5ab127adb6c598776547119f516bb7b.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 0230a60e..7ecf2a2d 100644
--- a/tty.c
+++ b/tty.c
@@ -1057,7 +1057,7 @@ tty_cmd_clearstartofscreen(struct tty *tty, const struct tty_ctx *ctx)
struct screen *s = wp->screen;
u_int i, j;
- tty_attributes(tty, &grid_default_cell, wp);
+ tty_default_attributes(tty, wp, ctx->bg);
tty_region_pane(tty, ctx, 0, screen_size_y(s) - 1);
tty_margin_off(tty);