aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/search.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-02-21 06:33:18 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-02-21 06:33:18 -0300
commitc48f835749913f48267ed3b389bdd333e19e6dc4 (patch)
treeedc8d4310b1e4025697a4ae0e9f39c2973fb3725 /src/nvim/search.c
parent486d2e944dffb30d97d65c88bbcc77f6fd1208f6 (diff)
parent6293b5513c54557bbf56077374df83cb52344fa3 (diff)
downloadrneovim-c48f835749913f48267ed3b389bdd333e19e6dc4.tar.gz
rneovim-c48f835749913f48267ed3b389bdd333e19e6dc4.tar.bz2
rneovim-c48f835749913f48267ed3b389bdd333e19e6dc4.zip
Merge PR #1997 'Remove term modules'
Diffstat (limited to 'src/nvim/search.c')
-rw-r--r--src/nvim/search.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c
index 095d7484a5..3b8f0bb6ba 100644
--- a/src/nvim/search.c
+++ b/src/nvim/search.c
@@ -47,7 +47,6 @@
#include "nvim/regexp.h"
#include "nvim/screen.h"
#include "nvim/strings.h"
-#include "nvim/term.h"
#include "nvim/ui.h"
#include "nvim/window.h"
#include "nvim/os/time.h"
@@ -1089,7 +1088,7 @@ int do_search(
free(msgbuf);
gotocmdline(FALSE);
- out_flush();
+ ui_flush();
msg_nowait = TRUE; /* don't wait for this message */
}
}
@@ -2045,8 +2044,8 @@ showmatch (
p_siso = 0; /* don't use 'sidescrolloff' here */
showruler(FALSE);
setcursor();
- cursor_on(); /* make sure that the cursor is shown */
- out_flush();
+ ui_cursor_on(); /* make sure that the cursor is shown */
+ ui_flush();
/* Restore dollar_vcol(), because setcursor() may call curs_rows()
* which resets it if the matching position is in a previous line
* and has a higher column number. */
@@ -4156,7 +4155,7 @@ find_pattern_in_path (
MSG_PUTS(_(" NOT FOUND"));
}
}
- out_flush(); /* output each line directly */
+ ui_flush(); /* output each line directly */
}
if (new_fname != NULL) {
@@ -4555,7 +4554,7 @@ static void show_pat_in_path(char_u *line, int type, int did_show, int action, F
MSG_PUTS(" ");
}
msg_prt_line(line, FALSE);
- out_flush(); /* show one line at a time */
+ ui_flush(); /* show one line at a time */
/* Definition continues until line that doesn't end with '\' */
if (got_int || type != FIND_DEFINE || p < line || *p != '\\')