summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index f5ffe8f2..e6c63207 100644
--- a/input.c
+++ b/input.c
@@ -978,7 +978,7 @@ input_esc_dispatch(struct input_ctx *ictx)
ictx->old_cx = 0;
ictx->old_cy = 0;
- screen_write_reset(sctx->s);
+ screen_write_reset(sctx);
break;
case INPUT_ESC_IND:
screen_write_linefeed(sctx, 0);