summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2011-11-12 12:18:03 +0000
committerMichael Weber <xmw@gentoo.org>2011-11-12 12:18:03 +0000
commitd8af0a33fdc2e486c1fb091e86e580710f7ab317 (patch)
tree4f05c2b4f85b5ad1db4beb60f2b66ecbf246043a /app-shells/fish/files
parentCorrected Slotting of media-libs/libpng and media-libs/tiff (diff)
downloadhistorical-d8af0a33fdc2e486c1fb091e86e580710f7ab317.tar.gz
historical-d8af0a33fdc2e486c1fb091e86e580710f7ab317.tar.bz2
historical-d8af0a33fdc2e486c1fb091e86e580710f7ab317.zip
Revbump to optionally include multi-line prompt patch by Ben Hoskings as suggested by James Bowlin (bug 205809)
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'app-shells/fish/files')
-rw-r--r--app-shells/fish/files/fish-1.23.1-multi-line_prompts.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-shells/fish/files/fish-1.23.1-multi-line_prompts.patch b/app-shells/fish/files/fish-1.23.1-multi-line_prompts.patch
new file mode 100644
index 000000000000..221323d9f638
--- /dev/null
+++ b/app-shells/fish/files/fish-1.23.1-multi-line_prompts.patch
@@ -0,0 +1,15 @@
+Downloaded from http://benhoskin.gs/2009/11/25/multi-line-prompts-in-fish/
+
+--- fish-1.23.1/reader.c
++++ fish-1.23.1/reader.c
+@@ -698,6 +698,10 @@
+ for( i=0; i<al_get_count( &prompt_list); i++ )
+ {
+ sb_append( &data->prompt_buff, (wchar_t *)al_get( &prompt_list, i ) );
++ if (i + 1 < al_get_count( &prompt_list))
++ {
++ sb_append( &data->prompt_buff, L"\n" );
++ }
+ }
+
+ al_foreach( &prompt_list, &free );