aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-11-21 17:08:29 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-11-21 17:08:29 -0300
commitaf5eaf22c529205ea75665df4a917b9294419f12 (patch)
treed204eca11f8ea4fa128016f68a1bc0f8af62ff18 /src/nvim/message.c
parent2c29b20af767bd7ebebeb41da14df4d66a19d5a0 (diff)
parentf09a33bbc131138f67aa13752559ade2d4e577c2 (diff)
downloadrneovim-af5eaf22c529205ea75665df4a917b9294419f12.tar.gz
rneovim-af5eaf22c529205ea75665df4a917b9294419f12.tar.bz2
rneovim-af5eaf22c529205ea75665df4a917b9294419f12.zip
Merge PR #1518 'Improve functional tests and perform explicit K_EVENT handling'
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r--src/nvim/message.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index ee83fd371e..23feeab173 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -44,7 +44,6 @@
#include "nvim/term.h"
#include "nvim/ui.h"
#include "nvim/os/os.h"
-#include "nvim/os/event.h"
/*
* To be able to scroll back at the "more" and "hit-enter" prompts we need to
@@ -2076,9 +2075,6 @@ static int do_more_prompt(int typed_char)
toscroll = 0;
switch (c) {
- case K_EVENT:
- event_process();
- break;
case BS: /* scroll one line back */
case K_BS:
case 'k':
@@ -2738,8 +2734,6 @@ do_dialog (
break;
default: /* Could be a hotkey? */
if (c < 0) { /* special keys are ignored here */
- // drain event queue to prevent infinite loop
- event_process();
continue;
}
if (c == ':' && ex_cmd) {