diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-10-21 12:27:25 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-10-21 12:27:25 -0300 |
commit | b6c9883169202c2b8ae4ca82a6e70ff3e8cd396f (patch) | |
tree | 4c12cab725dd4083e6de084979f4e30b94d61798 /src/nvim/os/shell.c | |
parent | 276ac99350961631d89d0c4ec2bc03050f7d6c5d (diff) | |
download | rneovim-b6c9883169202c2b8ae4ca82a6e70ff3e8cd396f.tar.gz rneovim-b6c9883169202c2b8ae4ca82a6e70ff3e8cd396f.tar.bz2 rneovim-b6c9883169202c2b8ae4ca82a6e70ff3e8cd396f.zip |
event: Remove direct calls to `uv_run` from job.c/shell.c
Diffstat (limited to 'src/nvim/os/shell.c')
-rw-r--r-- | src/nvim/os/shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c index a127597e52..d5464f7975 100644 --- a/src/nvim/os/shell.c +++ b/src/nvim/os/shell.c @@ -8,6 +8,7 @@ #include "nvim/ascii.h" #include "nvim/lib/kvec.h" #include "nvim/log.h" +#include "nvim/os/event.h" #include "nvim/os/job.h" #include "nvim/os/rstream.h" #include "nvim/os/shell.h" @@ -213,7 +214,7 @@ int os_call_shell(char_u *cmd, ShellOpts opts, char_u *extra_shell_arg) // Keep running the loop until all three handles are completely closed while (pdata.exited < expected_exits) { - uv_run(uv_default_loop(), UV_RUN_ONCE); + event_poll(0); if (got_int) { // Forward SIGINT to the shell |