summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authornicm <nicm>2017-02-16 12:56:01 +0000
committernicm <nicm>2017-02-16 12:56:01 +0000
commit82db1fa9e5b92c21d30488f54f12294267b137b2 (patch)
tree28a63e285672f8e10e0cb9aacf01ec7729e267cc /input.c
parentc948c6b69764729859dcd091934f42abad2f73e6 (diff)
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.
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
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);