449 |
{ |
{ |
450 |
if (FRAME_TERMCAP_P (XFRAME (selected_frame))) |
if (FRAME_TERMCAP_P (XFRAME (selected_frame))) |
451 |
{ |
{ |
452 |
OUTPUT_IF (TS_termcap_modes); |
if (TS_termcap_modes) |
453 |
|
OUTPUT (TS_termcap_modes); |
454 |
|
else |
455 |
|
{ |
456 |
|
/* Output enough newlines to scroll all the old screen contents |
457 |
|
off the screen, so it won't be overwritten and lost. */ |
458 |
|
int i; |
459 |
|
for (i = 0; i < FRAME_LINES (XFRAME (selected_frame)); i++) |
460 |
|
putchar ('\n'); |
461 |
|
} |
462 |
|
|
463 |
OUTPUT_IF (TS_cursor_visible); |
OUTPUT_IF (TS_cursor_visible); |
464 |
OUTPUT_IF (TS_keypad_mode); |
OUTPUT_IF (TS_keypad_mode); |
465 |
losecursor (); |
losecursor (); |