From 82db1fa9e5b92c21d30488f54f12294267b137b2 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 16 Feb 2017 12:56:01 +0000 Subject: 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. --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input.c') diff --git a/input.c b/input.c index b96ac7ef..351729c7 100644 --- a/input.c +++ b/input.c @@ -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); -- cgit