ECH needs to use background colour.

This commit is contained in:
Nicholas Marriott
2017-05-12 16:16:16 +01:00
parent 90f2a417af
commit 2bff5e7867
6 changed files with 12 additions and 6 deletions

View File

@@ -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),