From 1865b8c1c115b639a4a12b5a9cb287a62a82ac76 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Thu, 27 Nov 2014 14:10:42 -0300 Subject: 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. --- src/nvim/digraph.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/nvim/digraph.c') 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 -- cgit From bf6bb27e79f53646309ba075655465919bc2e60c Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Thu, 27 Nov 2014 14:58:04 -0300 Subject: ui: Remove redundant ui.h includes Also move read_error_exit to os/input.c --- src/nvim/digraph.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/nvim/digraph.c') diff --git a/src/nvim/digraph.c b/src/nvim/digraph.c index eb3b35bfb9..440d07aab0 100644 --- a/src/nvim/digraph.c +++ b/src/nvim/digraph.c @@ -23,7 +23,6 @@ #include "nvim/normal.h" #include "nvim/screen.h" #include "nvim/strings.h" -#include "nvim/ui.h" #include "nvim/os/input.h" typedef int result_T; -- cgit