mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-12 03:21:17 +02:00
updated
This commit is contained in:
13
shell/bash/files/patch-lib_readline_display.c
Normal file
13
shell/bash/files/patch-lib_readline_display.c
Normal file
@@ -0,0 +1,13 @@
|
||||
--- lib/readline/display.c.orig 2022-04-05 14:47:31 UTC
|
||||
+++ lib/readline/display.c
|
||||
@@ -953,7 +953,10 @@ rl_redisplay (void)
|
||||
the line breaks in the prompt string in expand_prompt, taking invisible
|
||||
characters into account, and if lpos exceeds the screen width, we copy
|
||||
the data in the loop below. */
|
||||
+ if (local_prompt)
|
||||
lpos = prompt_physical_chars + modmark;
|
||||
+ else
|
||||
+ lpos = 0;
|
||||
|
||||
#if defined (HANDLE_MULTIBYTE)
|
||||
memset (line_state_invisible->wrapped_line, 0, line_state_invisible->wbsize * sizeof (int));
|
||||
Reference in New Issue
Block a user