aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.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/message.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/message.c')
-rw-r--r--src/nvim/message.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 23feeab173..cd0c548fb4 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -42,8 +42,10 @@
#include "nvim/screen.h"
#include "nvim/strings.h"
#include "nvim/term.h"
-#include "nvim/ui.h"
+#include "nvim/mouse.h"
#include "nvim/os/os.h"
+#include "nvim/os/input.h"
+#include "nvim/os/time.h"
/*
* To be able to scroll back at the "more" and "hit-enter" prompts we need to
@@ -877,7 +879,7 @@ void wait_return(int redraw)
|| c == K_X1MOUSE
|| c == K_X2MOUSE))
);
- ui_breakcheck();
+ os_breakcheck();
/*
* Avoid that the mouse-up event causes visual mode to start.
*/
@@ -2702,11 +2704,9 @@ do_dialog (
int c;
int i;
-#ifndef NO_CONSOLE
/* Don't output anything in silent mode ("ex -s") */
if (silent_mode)
return dfltbutton; /* return default option */
-#endif
oldState = State;