* src/term.c (tty_set_terminal_modes): Output newlines on the correct
terminal device.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-422
/* Output enough newlines to scroll all the old screen contents
off the screen, so it won't be overwritten and lost. */
int i;
+ current_tty = tty;
for (i = 0; i < FRAME_LINES (XFRAME (selected_frame)); i++)
- putchar ('\n');
+ cmputc ('\n');
}
OUTPUT_IF (tty, tty->TS_termcap_modes);