There are buggy terminals out there that do not move the cursor to 0,0

after CSR, so invalidate the cursor position rather than assuming 0,0.
This commit is contained in:
nicm
2017-02-16 12:56:01 +00:00
parent c948c6b697
commit 82db1fa9e5
2 changed files with 3 additions and 3 deletions

View File

@ -1389,7 +1389,7 @@ input_csi_dispatch(struct input_ctx *ictx)
break;
case INPUT_CSI_IL:
screen_write_insertline(sctx, input_get(ictx, 0, 1, 1),
ictx->cell.cell.bg);
ictx->cell.cell.bg);
break;
case INPUT_CSI_RCP:
memcpy(&ictx->cell, &ictx->old_cell, sizeof ictx->cell);