ports/shells/bash/files/patch-lib_readline_display.c
Emanuel Haupt 03edf9b7fc - Reset maintainer of shells/bash, shells/bash-static
- Takeover maintainership
- Merge changes from shells/bash-devel this updates the port to 4.3
- Remove the now useless -devel ports
- Document change in ports/MOVED

Approved by:    portmgr (bapt)
2014-03-03 08:55:45 +00:00

11 lines
384 B
C

--- lib/readline/display.c.orig 2009-01-04 11:32:32.000000000 -0800
+++ lib/readline/display.c 2009-03-08 00:51:31.000000000 -0800
@@ -654,5 +654,8 @@ rl_redisplay ()
/* inv_lbreaks[i] is where line i starts in the buffer. */
inv_lbreaks[newlines = 0] = 0;
+ if (local_prompt)
lpos = prompt_physical_chars + modmark;
+ else
+ lpos = 0;
#if defined (HANDLE_MULTIBYTE)