aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/term.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-11-27 16:08:44 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-11-27 16:08:44 -0300
commitdca8853f0031ab7ac960037d3b848107355d7056 (patch)
tree90cecee10a75f8035fd0df02629d999853318450 /src/nvim/term.c
parentf6c89ec70409badb7ca477de47dd1f8dbf3de376 (diff)
parentbf6bb27e79f53646309ba075655465919bc2e60c (diff)
downloadrneovim-dca8853f0031ab7ac960037d3b848107355d7056.tar.gz
rneovim-dca8853f0031ab7ac960037d3b848107355d7056.tar.bz2
rneovim-dca8853f0031ab7ac960037d3b848107355d7056.zip
Merge PR #1565 'Cleanup ui module'
Diffstat (limited to 'src/nvim/term.c')
-rw-r--r--src/nvim/term.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/term.c b/src/nvim/term.c
index 263b81fc3a..3d1053bd2f 100644
--- a/src/nvim/term.c
+++ b/src/nvim/term.c
@@ -54,6 +54,7 @@
#include "nvim/window.h"
#include "nvim/os/os.h"
#include "nvim/os/time.h"
+#include "nvim/os/input.h"
#ifdef HAVE_TGETENT
# ifdef HAVE_TERMIOS_H
@@ -1330,7 +1331,7 @@ int set_termname(char_u *term)
if (emsg_silent == 0) {
screen_start(); /* don't know where cursor is now */
out_flush();
- ui_delay(2000L, true);
+ os_delay(2000L, true);
}
set_string_option_direct((char_u *)"term", -1, term,
OPT_FREE, 0);
@@ -2302,7 +2303,7 @@ void set_shellsize(int width, int height, int mustset)
Rows = height;
Columns = width;
check_shellsize();
- ui_set_shellsize(mustset);
+ mch_set_shellsize();
} else
check_shellsize();
@@ -4111,7 +4112,7 @@ void show_termcodes(void)
col += INC3;
}
out_flush();
- ui_breakcheck();
+ os_breakcheck();
}
}
free(items);