| 645 | } |
| 646 | |
| 647 | void |
| 648 | cl_end(void) |
| 649 | { |
| 650 | if (CE) { |
| 651 | xputs(CE); |
| 652 | } else { /* no-CE fix - free after Harold Rynes */ |
| 653 | int cx = ttyDisplay->curx + 1; |
| 654 | |
| 655 | /* this looks terrible, especially on a slow terminal |
| 656 | but is better than nothing */ |
| 657 | while (cx < CO) { |
| 658 | (void) xputc(' '); |
| 659 | cx++; |
| 660 | } |
| 661 | tty_curs(BASE_WINDOW, (int) ttyDisplay->curx + 1, |
| 662 | (int) ttyDisplay->cury); |
| 663 | } |
| 664 | } |
| 665 | |
| 666 | void |
| 667 | term_clear_screen(void) |
no test coverage detected