| 2186 | } |
| 2187 | |
| 2188 | void |
| 2189 | cls(void) |
| 2190 | { |
| 2191 | static boolean in_cls = 0; |
| 2192 | |
| 2193 | if (in_cls) |
| 2194 | return; |
| 2195 | in_cls = TRUE; |
| 2196 | display_nhwindow(WIN_MESSAGE, FALSE); /* flush messages */ |
| 2197 | disp.botlx = TRUE; /* force update of botl window */ |
| 2198 | clear_nhwindow(WIN_MAP); /* clear physical screen */ |
| 2199 | |
| 2200 | clear_glyph_buffer(); /* force gbuf[][].glyph to unexplored */ |
| 2201 | in_cls = FALSE; |
| 2202 | } |
| 2203 | |
| 2204 | /* |
| 2205 | * Synch the third screen with the display. |
no test coverage detected