mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user