mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 07:41:50 -04:00
Bash Commander is a fork of GNU Bourne Again Shell. It's main feature is a visual two-panel mode, much like Midnight Commander and other text-mode visual shells. WWW: https://github.com/sergev/bash-commander Also add bashc to the CONFLICTS section of shells/bash. PR: 253783, 253784 Submitted by: Igor Pokrovsky <ip AT unixway DOT org>
13 lines
533 B
C
13 lines
533 B
C
--- lib/readline/display.c.orig 2018-10-01 01:37:48 UTC
|
|
+++ lib/readline/display.c
|
|
@@ -837,7 +837,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));
|