* Clear the screen. Immediate. */
| 1037 | * Clear the screen. Immediate. |
| 1038 | */ |
| 1039 | short |
| 1040 | clear_tty(WindowPtr window) |
| 1041 | { |
| 1042 | RECORD_EXISTS(record); |
| 1043 | |
| 1044 | record->curs_state = 0; |
| 1045 | select_offscreen_port(record); |
| 1046 | erase_rect(record, &(record->its_bits.bounds)); |
| 1047 | accumulate_rect(record, &(record->its_bits.bounds)); |
| 1048 | update_tty(window); |
| 1049 | |
| 1050 | return noErr; |
| 1051 | } |
| 1052 | |
| 1053 | /* |
| 1054 | * Blink cursor on window if necessary |
no test coverage detected