mirror of
https://github.com/matrix-construct/construct
synced 2025-01-19 19:11:53 +01:00
modules/console: Add client clear cmd.
This commit is contained in:
parent
16f6433230
commit
5d82889eae
1 changed files with 9 additions and 0 deletions
|
@ -2717,6 +2717,15 @@ console_cmd__client(opt &out, const string_view &line)
|
||||||
return true;
|
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
|
// key
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Reference in a new issue