| 657 | } |
| 658 | |
| 659 | static bool ConClearBuffer(std::span<std::string_view> argv) |
| 660 | { |
| 661 | if (argv.empty()) { |
| 662 | IConsolePrint(CC_HELP, "Clear the console buffer. Usage: 'clear'."); |
| 663 | return true; |
| 664 | } |
| 665 | |
| 666 | IConsoleClearBuffer(); |
| 667 | SetWindowDirty(WC_CONSOLE, 0); |
| 668 | return true; |
| 669 | } |
| 670 | |
| 671 | |
| 672 | /********************************** |
nothing calls this directly
no test coverage detected