summaryrefslogtreecommitdiff
path: root/shells/bash/files/patch-lib_readline_display.c
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-03 08:55:45 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-03 08:55:45 +0000
commit03edf9b7fc6849d310104fbe221bd4cd3c90df71 (patch)
tree0bdc7ce5aa5223828130dad742db7827d48ae895 /shells/bash/files/patch-lib_readline_display.c
parentUpdate to 0.2.4.21 (diff)
- 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)
Diffstat (limited to 'shells/bash/files/patch-lib_readline_display.c')
-rw-r--r--shells/bash/files/patch-lib_readline_display.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/bash/files/patch-lib_readline_display.c b/shells/bash/files/patch-lib_readline_display.c
new file mode 100644
index 000000000000..f05f78b72c7d
--- /dev/null
+++ b/shells/bash/files/patch-lib_readline_display.c
@@ -0,0 +1,11 @@
+--- 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)