diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-27 12:54:26 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-27 14:12:59 -0300 |
commit | 541eaf598c25e0b853ef441b57c9f7d1bbf3450c (patch) | |
tree | 62919511c5968a76b8add898b812aeaf2edc02a5 /src/nvim/eval.c | |
parent | f6c89ec70409badb7ca477de47dd1f8dbf3de376 (diff) | |
download | rneovim-541eaf598c25e0b853ef441b57c9f7d1bbf3450c.tar.gz rneovim-541eaf598c25e0b853ef441b57c9f7d1bbf3450c.tar.bz2 rneovim-541eaf598c25e0b853ef441b57c9f7d1bbf3450c.zip |
ui: Remove ui_inchar/ui_char_avail
Also:
- Remove NO_CONSOLE_INPUT/NO_CONSULE preprocessor conditionals
- Remove ctrl_c_interrupts variable, check for mapped_ctrl_c directly in
process_interrupts()
- Move ui_inchar profiling to input_poll which is where Nvim blocks for input.
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 4a77bcd3c5..0a57b4ceb2 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -10273,12 +10273,6 @@ static void get_user_input(typval_T *argvars, typval_T *rettv, int inputdialog) rettv->v_type = VAR_STRING; rettv->vval.v_string = NULL; -#ifdef NO_CONSOLE_INPUT - /* While starting up, there is no place to enter text. */ - if (no_console_input()) - return; -#endif - cmd_silent = FALSE; /* Want to see the prompt. */ if (prompt != NULL) { /* Only the part of the message after the last NL is considered as @@ -10373,11 +10367,6 @@ static void f_inputlist(typval_T *argvars, typval_T *rettv) int selected; int mouse_used; -#ifdef NO_CONSOLE_INPUT - /* While starting up, there is no place to enter text. */ - if (no_console_input()) - return; -#endif if (argvars[0].v_type != VAR_LIST || argvars[0].vval.v_list == NULL) { EMSG2(_(e_listarg), "inputlist()"); return; |