aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/digraph.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-11-27 14:10:42 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-11-27 14:27:18 -0300
commit1865b8c1c115b639a4a12b5a9cb287a62a82ac76 (patch)
tree2fc64d750f64cc0139651168bd09e25ad15b7947 /src/nvim/digraph.c
parent541eaf598c25e0b853ef441b57c9f7d1bbf3450c (diff)
downloadrneovim-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/digraph.c')
-rw-r--r--src/nvim/digraph.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/digraph.c b/src/nvim/digraph.c
index ffba7d4276..eb3b35bfb9 100644
--- a/src/nvim/digraph.c
+++ b/src/nvim/digraph.c
@@ -24,6 +24,7 @@
#include "nvim/screen.h"
#include "nvim/strings.h"
#include "nvim/ui.h"
+#include "nvim/os/input.h"
typedef int result_T;
@@ -1659,13 +1660,13 @@ void listdigraphs(void)
printdigraph(&tmp);
}
dp++;
- ui_breakcheck();
+ os_breakcheck();
}
dp = (digr_T *)user_digraphs.ga_data;
for (int i = 0; i < user_digraphs.ga_len && !got_int; ++i) {
printdigraph(dp);
- ui_breakcheck();
+ os_breakcheck();
dp++;
}
// clear screen, because some digraphs may be wrong, in which case we messed