0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-14 16:46:50 +01:00

modules/console: Add client clear cmd.

This commit is contained in:
Jason Volk 2018-08-30 19:29:47 -07:00
parent 16f6433230
commit 5d82889eae

View file

@ -2717,6 +2717,15 @@ console_cmd__client(opt &out, const string_view &line)
return true;
}
bool
console_cmd__client__clear(opt &out, const string_view &line)
{
client::interrupt_all();
client::close_all();
client::wait_all();
return true;
}
//
// key
//