ECH needs to use background colour.

This commit is contained in:
nicm
2017-05-12 10:50:11 +00:00
parent 7d3e2c83d4
commit 886d50dcab
4 changed files with 19 additions and 5 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),