5 Patch-ID: readline70-005
7 Bug-Reported-by: Nuzhna Pomoshch <nuzhna_pomoshch@yahoo.com>
8 Bug-Reference-ID: <1317167476.1492079.1495999776464@mail.yahoo.com>
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2017-05/msg00005.html
13 There are cases where a failing readline command (e.g., delete-char at the end
14 of a line) can cause a multi-character key sequence to `back up' and attempt
15 to re-read some of the characters in the sequence.
17 Patch (apply with `patch -p0'):
19 *** ../readline-7.0/readline.c 2016-04-20 15:53:52.000000000 -0400
20 --- readline.c 2018-05-26 17:19:00.000000000 -0400
23 r = _rl_dispatch (ANYOTHERKEY, m);
25 ! else if (r && map[ANYOTHERKEY].function)
27 /* We didn't match (r is probably -1), so return something to
29 r = _rl_dispatch (ANYOTHERKEY, m);
31 ! else if (r < 0 && map[ANYOTHERKEY].function)
33 /* We didn't match (r is probably -1), so return something to
38 ! else if (r && got_subseq)
40 /* OK, back up the chain. */
44 ! else if (r < 0 && got_subseq) /* XXX */
46 /* OK, back up the chain. */
47 *** ../readline-7.0/patchlevel 2013-11-15 08:11:11.000000000 -0500
48 --- patchlevel 2014-03-21 08:28:40.000000000 -0400
51 # Do not edit -- exists only for use by patch
55 # Do not edit -- exists only for use by patch