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.
This commit is contained in:
Thiago de Arruda
2014-11-27 14:10:42 -03:00
parent 541eaf598c
commit 1865b8c1c1
29 changed files with 98 additions and 108 deletions

View File

@@ -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)