0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-11 12:31:07 +01:00

construct: Make interruption during cmd in watch.

This commit is contained in:
Jason Volk 2019-09-11 18:29:24 -07:00
parent 2110f7e632
commit 34898aaea0

View file

@ -399,8 +399,10 @@ construct::console::cmd__watch()
this->line = line; do
{
std::cout << '\n';
const ircd::ctx::uninterruptible ui;
handle_line(); try
{
ircd::ctx::interruptible(true);
const log::console_quiet quiet(false);
ctx::sleep(sleep_time);
}