aboutsummaryrefslogtreecommitdiff
path: root/src/os/time.c
diff options
context:
space:
mode:
authorThomas Wienecke <wienecke.t@gmail.com>2014-03-27 12:38:33 +0100
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-27 19:57:55 -0300
commit5762c4e528cbd6629319bf3958d1f6554b399b20 (patch)
tree3be91959012944534451ec84584ff4be84286b7c /src/os/time.c
parent3f7011ab9185b4968e89086f77b054161a900beb (diff)
downloadrneovim-5762c4e528cbd6629319bf3958d1f6554b399b20.tar.gz
rneovim-5762c4e528cbd6629319bf3958d1f6554b399b20.tar.bz2
rneovim-5762c4e528cbd6629319bf3958d1f6554b399b20.zip
Rename mch_* functions to os_* in os module.
Diffstat (limited to 'src/os/time.c')
-rw-r--r--src/os/time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os/time.c b/src/os/time.c
index bb86806af3..f14a69264e 100644
--- a/src/os/time.c
+++ b/src/os/time.c
@@ -17,7 +17,7 @@ void time_init()
uv_cond_init(&delay_cond);
}
-void mch_delay(uint64_t ms, bool ignoreinput)
+void os_delay(uint64_t ms, bool ignoreinput)
{
int old_tmode;
@@ -25,7 +25,7 @@ void mch_delay(uint64_t ms, bool 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_mch_delay = true;
+ in_os_delay = true;
old_tmode = curr_tmode;
if (curr_tmode == TMODE_RAW)
@@ -34,7 +34,7 @@ void mch_delay(uint64_t ms, bool ignoreinput)
delay(ms);
settmode(old_tmode);
- in_mch_delay = false;
+ in_os_delay = false;
} else {
delay(ms);
}