| 402 | } |
| 403 | |
| 404 | command_result Commands::clear(color_ostream& con, Core& core, const std::string& first, const std::vector<std::string>& parts) |
| 405 | { |
| 406 | if (con.can_clear()) |
| 407 | { |
| 408 | con.clear(); |
| 409 | return CR_OK; |
| 410 | } |
| 411 | else |
| 412 | { |
| 413 | con.printerr("No console to clear, or this console does not support clearing.\n"); |
| 414 | return CR_NEEDS_CONSOLE; |
| 415 | } |
| 416 | } |
| 417 | |
| 418 | command_result Commands::kill_lua(color_ostream& con, Core& core, const std::string& first, const std::vector<std::string>& parts) |
| 419 | { |
no outgoing calls