aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 06ce9248..16a865eb 100644
--- a/tty.c
+++ b/tty.c
@@ -797,7 +797,7 @@ tty_cmd_clearstartofscreen(
tty_putc(tty, ' ');
}
}
- for (i = 0; i < s->old_cx; i++)
+ for (i = 0; i <= s->old_cx; i++)
tty_putc(tty, ' ');
}