mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +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:
@@ -1702,14 +1702,14 @@ static int vgetorpeek(int advance)
|
||||
*/
|
||||
for (;; ) {
|
||||
/*
|
||||
* ui_breakcheck() is slow, don't use it too often when
|
||||
* os_breakcheck() is slow, don't use it too often when
|
||||
* inside a mapping. But call it each time for typed
|
||||
* characters.
|
||||
*/
|
||||
if (typebuf.tb_maplen)
|
||||
line_breakcheck();
|
||||
else
|
||||
ui_breakcheck(); /* check for CTRL-C */
|
||||
os_breakcheck(); /* check for CTRL-C */
|
||||
keylen = 0;
|
||||
if (got_int) {
|
||||
/* flush all input */
|
||||
|
Reference in New Issue
Block a user