diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-15 16:51:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-15 16:51:40 +0100 |
commit | 0bdbc10e8a74e7dd447cd975fb1445bbdcbb4f37 (patch) | |
tree | 0830f2e5429c9aed77e5c883b695904eab7bc590 /src/evalfunc.c | |
parent | 0eabd4dc8ff50658f0ea0e92c7918a42242f6b80 (diff) |
patch 8.2.0386: part from unfinished patch got includedv8.2.0386
Problem: Part from unfinished patch got included.
Solution: Undo that part.
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 5db6718fb6..fdfdc0a06e 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -2470,17 +2470,7 @@ f_feedkeys(typval_T *argvars, typval_T *rettv UNUSED) if (lowlevel) { #ifdef USE_INPUT_BUF - int idx; - int len = (int)STRLEN(keys); - - for (idx = 0; idx < len; ++idx) - { - // if a CTRL-C was typed, set got_int - if (keys[idx] == 3 && ctrl_c_interrupts) - got_int = TRUE; - else - add_to_input_buf(keys + idx, 1); - } + add_to_input_buf(keys, (int)STRLEN(keys)); #else emsg(_("E980: lowlevel input not supported")); #endif |