diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-27 14:10:42 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-27 14:27:18 -0300 |
commit | 1865b8c1c115b639a4a12b5a9cb287a62a82ac76 (patch) | |
tree | 2fc64d750f64cc0139651168bd09e25ad15b7947 /src/nvim/path.c | |
parent | 541eaf598c25e0b853ef441b57c9f7d1bbf3450c (diff) | |
download | rneovim-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/path.c')
-rw-r--r-- | src/nvim/path.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index ff97b7774a..e8d31f3f73 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -31,7 +31,7 @@ #include "nvim/strings.h" #include "nvim/tag.h" #include "nvim/types.h" -#include "nvim/ui.h" +#include "nvim/os/input.h" #include "nvim/window.h" #define URL_SLASH 1 /* path_is_url() has found "://" */ @@ -449,7 +449,7 @@ unix_expandpath ( /* Expanding "**" may take a long time, check for CTRL-C. */ if (stardepth > 0) { - ui_breakcheck(); + os_breakcheck(); if (got_int) return 0; } @@ -850,7 +850,7 @@ static void uniquefy_paths(garray_T *gap, char_u *pattern) STRMOVE(path + STRLEN(path), short_name); } } - ui_breakcheck(); + os_breakcheck(); } /* Shorten filenames in /in/current/directory/{filename} */ @@ -879,7 +879,7 @@ static void uniquefy_paths(garray_T *gap, char_u *pattern) free(fnames[i]); fnames[i] = rel_path; sort_again = TRUE; - ui_breakcheck(); + os_breakcheck(); } free(curdir); |