diff options
author | 2017-05-12 10:50:11 +0000 | |
---|---|---|
committer | 2017-05-12 10:50:11 +0000 | |
commit | cf8e7221d6b58e0ed89c151715575da87d707bb7 (patch) | |
tree | 3a0d0080ac31b5229403ca18eadadad259e7c6af /usr.bin/tmux/input.c | |
parent | Can use DECFRA to clear area when not using default background. (diff) | |
download | wireguard-openbsd-cf8e7221d6b58e0ed89c151715575da87d707bb7.tar.xz wireguard-openbsd-cf8e7221d6b58e0ed89c151715575da87d707bb7.zip |
ECH needs to use background colour.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r-- | usr.bin/tmux/input.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index 15497e6386f..0543c0c2731 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.119 2017/04/22 08:33:28 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.120 2017/05/12 10:50:11 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1308,7 +1308,8 @@ input_csi_dispatch(struct input_ctx *ictx) } break; case INPUT_CSI_ECH: - screen_write_clearcharacter(sctx, input_get(ictx, 0, 1, 1)); + screen_write_clearcharacter(sctx, input_get(ictx, 0, 1, 1), + ictx->cell.cell.bg); break; case INPUT_CSI_DCH: screen_write_deletecharacter(sctx, input_get(ictx, 0, 1, 1), |