summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-02-06 19:26:49 +0000
committernicm <nicm@openbsd.org>2017-02-06 19:26:49 +0000
commit92483283bc7212bccd4867298677527ebc7ac0d2 (patch)
tree82741c29fa651ff1044cc74f0de49d6c1c52eaaf /usr.bin/tmux/input.c
parentMove cache and tlb flush functions, which were mostly inline assembly, (diff)
downloadwireguard-openbsd-92483283bc7212bccd4867298677527ebc7ac0d2.tar.xz
wireguard-openbsd-92483283bc7212bccd4867298677527ebc7ac0d2.zip
Add BCE for clear to start of screen, which was somehow missed.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index 6002bfcfa72..b6558af0bca 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.110 2017/02/06 13:25:15 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.111 2017/02/06 19:26:49 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1330,7 +1330,7 @@ input_csi_dispatch(struct input_ctx *ictx)
screen_write_clearendofscreen(sctx, ictx->cell.cell.bg);
break;
case 1:
- screen_write_clearstartofscreen(sctx);
+ screen_write_clearstartofscreen(sctx, ictx->cell.cell.bg);
break;
case 2:
screen_write_clearscreen(sctx, ictx->cell.cell.bg);