mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 11:26:37 +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:
@@ -46,6 +46,7 @@
|
||||
#include "nvim/term.h"
|
||||
#include "nvim/ui.h"
|
||||
#include "nvim/os/os.h"
|
||||
#include "nvim/os/time.h"
|
||||
|
||||
/*
|
||||
* Structure that stores information about a highlight group.
|
||||
@@ -7606,7 +7607,7 @@ static void highlight_list_two(int cnt, int attr)
|
||||
msg_puts_attr((char_u *)&("N \bI \b! \b"[cnt / 11]), attr);
|
||||
msg_clr_eos();
|
||||
out_flush();
|
||||
ui_delay(cnt == 99 ? 40L : (long)cnt * 50L, false);
|
||||
os_delay(cnt == 99 ? 40L : (long)cnt * 50L, false);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user