]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/readline/readline82-007
readline: Update patches to patch 1 to patch 10
[ipfire-2.x.git] / src / patches / readline / readline82-007
1 READLINE PATCH REPORT
2 =====================
3
4 Readline-Release: 8.2
5 Patch-ID: readline82-007
6
7 Bug-Reported-by: Kevin Pulo <kev@pulo.com.au>
8 Bug-Reference-ID:
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2022-11/msg00002.html
10
11 Bug-Description:
12
13 If readline is called with no prompt, it should display a newline if return
14 is typed on an empty line. It should still suppress the final newline if
15 return is typed on the last (empty) line of a multi-line command.
16
17 Patch (apply with `patch -p0'):
18
19 *** ../readline-8.2-patched/display.c 2022-04-05 10:47:31.000000000 -0400
20 --- display.c 2022-12-13 13:11:22.000000000 -0500
21 ***************
22 *** 3342,3348 ****
23 &last_face[_rl_screenwidth - 1 + woff], 1);
24 }
25 ! _rl_vis_botlin = 0;
26 ! if (botline_length > 0 || _rl_last_c_pos > 0)
27 rl_crlf ();
28 fflush (rl_outstream);
29 rl_display_fixed++;
30 --- 3394,3400 ----
31 &last_face[_rl_screenwidth - 1 + woff], 1);
32 }
33 ! if ((_rl_vis_botlin == 0 && botline_length == 0) || botline_length > 0 || _rl_last_c_pos > 0)
34 rl_crlf ();
35 + _rl_vis_botlin = 0;
36 fflush (rl_outstream);
37 rl_display_fixed++;
38 *** ../readline-8.2/patchlevel 2013-11-15 08:11:11.000000000 -0500
39 --- patchlevel 2014-03-21 08:28:40.000000000 -0400
40 ***************
41 *** 1,3 ****
42 # Do not edit -- exists only for use by patch
43
44 ! 6
45 --- 1,3 ----
46 # Do not edit -- exists only for use by patch
47
48 ! 7