Clear the given window, when asked to. */
| 452 | |
| 453 | /* Clear the given window, when asked to. */ |
| 454 | void |
| 455 | curses_clear_nhwindow(winid wid) |
| 456 | { |
| 457 | if (wid != NHW_MESSAGE) { |
| 458 | curses_clear_nhwin(wid); |
| 459 | } else { |
| 460 | /* scroll the message window one line if it's full */ |
| 461 | curses_count_window(""); |
| 462 | /* remove 'countwin', leaving last message line blank */ |
| 463 | curses_count_window((char *) 0); |
| 464 | } |
| 465 | } |
| 466 | |
| 467 | /* -- Display the window on the screen. If there is data |
| 468 | pending for output in that window, it should be sent. |
nothing calls this directly
no test coverage detected