mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-07 10:42:28 +02:00
commit bash-20170714 snapshot
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user