diff options
author | Scott Prager <splinterofchaos@gmail.com> | 2014-09-17 19:17:22 -0400 |
---|---|---|
committer | Scott Prager <splinterofchaos@gmail.com> | 2014-11-28 14:27:16 -0500 |
commit | 8d271bb57bdf6e7718da91f58f98cf0da0fe0e71 (patch) | |
tree | 6da5e19a49e8531a5580e810bdd05be2097b9068 /src/nvim/main.c | |
parent | a3ef5723a95edf153095f512417c402202ac3270 (diff) | |
download | rneovim-8d271bb57bdf6e7718da91f58f98cf0da0fe0e71.tar.gz rneovim-8d271bb57bdf6e7718da91f58f98cf0da0fe0e71.tar.bz2 rneovim-8d271bb57bdf6e7718da91f58f98cf0da0fe0e71.zip |
mch_init -> term_init
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 68ae000c35..ca9b4184bc 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -60,6 +60,7 @@ #include "nvim/os/time.h" #include "nvim/os/input.h" #include "nvim/os/os.h" +#include "nvim/os/event.h" #include "nvim/os/signal.h" #include "nvim/msgpack_rpc/helpers.h" #include "nvim/api/private/defs.h" @@ -252,14 +253,12 @@ int main(int argc, char **argv) */ - /* - * mch_init() sets up the terminal (window) for use. This must be - * done after resetting full_screen, otherwise it may move the cursor - * Note that we may use mch_exit() before mch_init()! - */ - mch_init(); + // term_init() sets up the terminal (window) for use. This must be + // done after resetting full_screen, otherwise it may move the cursor + term_init(); TIME_MSG("shell init"); + event_init(); if (!embedded_mode) { // Print a warning if stdout is not a terminal. |