diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-27 14:10:42 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-27 14:27:18 -0300 |
commit | 1865b8c1c115b639a4a12b5a9cb287a62a82ac76 (patch) | |
tree | 2fc64d750f64cc0139651168bd09e25ad15b7947 /src/nvim/edit.c | |
parent | 541eaf598c25e0b853ef441b57c9f7d1bbf3450c (diff) | |
download | rneovim-1865b8c1c115b639a4a12b5a9cb287a62a82ac76.tar.gz rneovim-1865b8c1c115b639a4a12b5a9cb287a62a82ac76.tar.bz2 rneovim-1865b8c1c115b639a4a12b5a9cb287a62a82ac76.zip |
ui: Remove ui_delay, ui_breakcheck and ui_set_shellsize
These functions only used to call another os_* function, so remove them and
replace all occurences in the project.
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index b9ecbc71fe..7fdf02ca56 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -59,6 +59,8 @@ #include "nvim/undo.h" #include "nvim/window.h" #include "nvim/os/event.h" +#include "nvim/os/input.h" +#include "nvim/os/time.h" /* * definitions used for CTRL-X submode @@ -1761,7 +1763,7 @@ static int has_compl_option(int dict_opt) vim_beep(); setcursor(); out_flush(); - ui_delay(2000L, false); + os_delay(2000L, false); } return FALSE; } @@ -2005,7 +2007,7 @@ ins_compl_add ( compl_T *match; int dir = (cdir == 0 ? compl_direction : cdir); - ui_breakcheck(); + os_breakcheck(); if (got_int) return FAIL; if (len < 0) |