forked from aniani/vim
patch 7.4.1151
Problem: Missing change to eval.c Solution: Also change feedkeys().
This commit is contained in:
@@ -10960,6 +10960,7 @@ f_feedkeys(argvars, rettv)
|
||||
char_u *keys, *flags;
|
||||
char_u nbuf[NUMBUFLEN];
|
||||
int typed = FALSE;
|
||||
int execute = FALSE;
|
||||
char_u *keys_esc;
|
||||
|
||||
/* This is not allowed in the sandbox. If the commands would still be
|
||||
@@ -10982,6 +10983,7 @@ f_feedkeys(argvars, rettv)
|
||||
case 'm': remap = TRUE; break;
|
||||
case 't': typed = TRUE; break;
|
||||
case 'i': insert = TRUE; break;
|
||||
case 'x': execute = TRUE; break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10996,6 +10998,8 @@ f_feedkeys(argvars, rettv)
|
||||
vim_free(keys_esc);
|
||||
if (vgetc_busy)
|
||||
typebuf_was_filled = TRUE;
|
||||
if (execute)
|
||||
exec_normal(TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user