aboutsummaryrefslogtreecommitdiff
path: root/src/os/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/time.c')
-rw-r--r--src/os/time.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/os/time.c b/src/os/time.c
index 2daf866cc7..0f7c990e23 100644
--- a/src/os/time.c
+++ b/src/os/time.c
@@ -29,9 +29,7 @@ void os_microdelay(uint64_t microseconds, bool ignoreinput)
if (ignoreinput) {
// Go to cooked mode without echo, to allow SIGINT interrupting us
- // here. But we don't want QUIT to kill us (CTRL-\ used in a
- // shell may produce SIGQUIT).
- in_os_delay = true;
+ // here
old_tmode = curr_tmode;
if (curr_tmode == TMODE_RAW)
@@ -40,7 +38,6 @@ void os_microdelay(uint64_t microseconds, bool ignoreinput)
microdelay(microseconds);
settmode(old_tmode);
- in_os_delay = false;
} else {
microdelay(microseconds);
}