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:
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;
|
||||
}
|
||||
|
||||
bool
|
||||
console_cmd__client__clear(opt &out, const string_view &line)
|
||||
{
|
||||
client::interrupt_all();
|
||||
client::close_all();
|
||||
client::wait_all();
|
||||
return true;
|
||||
}
|
||||
|
||||
//
|
||||
// key
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue