diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c index 54a02a6b..ddb00441 100644 --- a/src/fe-text/term-terminfo.c +++ b/src/fe-text/term-terminfo.c @@ -376,7 +376,7 @@ static void term_printed_text(int count) vcx += count; while (vcx >= term_width) { vcx -= term_width; - if (vcy < term_height) vcy++; + if (vcy < term_height-1) vcy++; if (vcx > 0) term_lines_empty[vcy] = FALSE; } }