aboutsummaryrefslogtreecommitdiffstats
path: root/main/readline/readline-6.3-vi-last.patch
blob: 9c4fc573db9c6b2a58e48a86e84c6c3f511f16d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
*** a/readline.c	2013-10-28 14:58:06.000000000 -0400
--- b/readline.c	2014-03-07 15:20:33.000000000 -0500
***************
*** 965,969 ****
    if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap &&
        key != ANYOTHERKEY &&
!       rl_key_sequence_length == 1 &&	/* XXX */
        _rl_vi_textmod_command (key))
      _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign);
--- 965,969 ----
    if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap &&
        key != ANYOTHERKEY &&
!       _rl_dispatching_keymap == vi_movement_keymap &&
        _rl_vi_textmod_command (key))
      _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign);