From 886d50dcabf98d7469d982241336593acbb2e6f6 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 12 May 2017 10:50:11 +0000 Subject: ECH needs to use background colour. --- input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'input.c') diff --git a/input.c b/input.c index 34fa7a9c..22dd1ee2 100644 --- a/input.c +++ b/input.c @@ -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), -- cgit