changeset 19659:bc70c52c5c12 v8.2.0386

patch 8.2.0386: part from unfinished patch got included Commit: https://github.com/vim/vim/commit/0bdbc10e8a74e7dd447cd975fb1445bbdcbb4f37 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 15 16:51:40 2020 +0100 patch 8.2.0386: part from unfinished patch got included Problem: Part from unfinished patch got included. Solution: Undo that part.
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Mar 2020 17:00:04 +0100
parents 01aefc00a2a2
children 738922dcb500
files src/evalfunc.c src/version.c
diffstat 2 files changed, 3 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -2470,17 +2470,7 @@ f_feedkeys(typval_T *argvars, typval_T *
 	    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
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    386,
+/**/
     385,
 /**/
     384,