commit bash-20170714 snapshot

This commit is contained in:
Chet Ramey
2017-07-25 09:58:13 -04:00
parent 68fd3b7615
commit cb8c37dc66
4 changed files with 24 additions and 6 deletions
+2 -2
View File
@@ -530,7 +530,7 @@ readline_internal_charloop (void)
#endif
{
static int lastc, eof_found;
int c, code, lk;
int c, code, lk, r;
lastc = EOF;
@@ -626,7 +626,7 @@ readline_internal_charloop (void)
}
lastc = c;
_rl_dispatch ((unsigned char)c, _rl_keymap);
r = _rl_dispatch ((unsigned char)c, _rl_keymap);
RL_CHECK_SIGNALS ();
/* If there was no change in _rl_last_command_was_kill, then no kill
+3
View File
@@ -2074,6 +2074,9 @@ rl_vi_replace (int count, int key)
vi_insertion_keymap[CTRL ('H')].function == rl_rubout)
vi_replace_map[CTRL ('H')].function = rl_vi_overstrike_delete;
/* Make sure this is the value we need. */
vi_replace_map[ANYOTHERKEY].type = ISFUNC;
vi_replace_map[ANYOTHERKEY].function = (rl_command_func_t *)NULL;
}
rl_vi_start_inserting (key, 1, rl_arg_sign);