aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index 3b3f0ad2132..bb7f7354890 100644
--- a/src/term.c
+++ b/src/term.c
@@ -250,8 +250,9 @@ tty_set_terminal_modes (struct device *display)
250 /* Output enough newlines to scroll all the old screen contents 250 /* Output enough newlines to scroll all the old screen contents
251 off the screen, so it won't be overwritten and lost. */ 251 off the screen, so it won't be overwritten and lost. */
252 int i; 252 int i;
253 current_tty = tty;
253 for (i = 0; i < FRAME_LINES (XFRAME (selected_frame)); i++) 254 for (i = 0; i < FRAME_LINES (XFRAME (selected_frame)); i++)
254 putchar ('\n'); 255 cmputc ('\n');
255 } 256 }
256 257
257 OUTPUT_IF (tty, tty->TS_termcap_modes); 258 OUTPUT_IF (tty, tty->TS_termcap_modes);