pg83 commited on
Commit
baedc7b
·
verified ·
1 Parent(s): 25e4bd6

Upload cas/4e/4ebd261a608287796e171af0ea9af5a1e3122e46672accda2484b6698c47c1a4 with huggingface_hub

Browse files
cas/4e/4ebd261a608287796e171af0ea9af5a1e3122e46672accda2484b6698c47c1a4 ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ READLINE PATCH REPORT
2
+ =====================
3
+
4
+ Readline-Release: 8.3
5
+ Patch-ID: readline83-006
6
+
7
+ Bug-Reported-by: Félix Bouynot <felix.bouynot@setenforce.one>
8
+ Bug-Reference-ID: <39c9472ddcf23881693380c4b895dd3799b45cec.camel@setenforce.one>
9
+ Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2026-05/msg00065.html
10
+
11
+ Bug-Description:
12
+
13
+ If readline handles a SIGWINCH and resizes its idea of the screen
14
+ dimensions, it needs to recompute the columns where the prompt wraps
15
+ lines every time, not just when the screen width decreases.
16
+
17
+ Patch (apply with `patch -p0'):
18
+
19
+ *** ../readline-8.3-patched/display.c Thu Sep 4 11:55:37 2025
20
+ --- display.c Fri May 22 14:55:01 2026
21
+ ***************
22
+ *** 3526,3531 ****
23
+ rl_crlf ();
24
+
25
+ ! if (_rl_screenwidth < prompt_visible_length)
26
+ ! _rl_reset_prompt (); /* update local_prompt_newlines array */
27
+
28
+ /* Redraw only the last line of a multi-line prompt. */
29
+ --- 3521,3527 ----
30
+ rl_crlf ();
31
+
32
+ ! /* Let expand_prompt() update local_prompt_newlines and local_prompt_invis_chars
33
+ ! arrays */
34
+ ! _rl_reset_prompt ();
35
+
36
+ /* Redraw only the last line of a multi-line prompt. */
37
+ *** ../readline-8.3/patchlevel 2013-11-15 08:11:11.000000000 -0500
38
+ --- patchlevel 2024-03-21 08:28:40.000000000 -0400
39
+ ***************
40
+ *** 1,3 ****
41
+ # Do not edit -- exists only for use by patch
42
+
43
+ ! 5
44
+ --- 1,3 ----
45
+ # Do not edit -- exists only for use by patch
46
+
47
+ ! 6