public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-shells/fish/files: fish-1.23.1-multi-line_prompts.patch
@ 2011-11-12 12:18 Michael Weber (xmw)
  0 siblings, 0 replies; only message in thread
From: Michael Weber (xmw) @ 2011-11-12 12:18 UTC (permalink / raw
  To: gentoo-commits

xmw         11/11/12 12:18:03

  Added:                fish-1.23.1-multi-line_prompts.patch
  Log:
  Revbump to optionally include multi-line prompt patch by Ben Hoskings as suggested by James Bowlin (bug 205809)
  
  (Portage version: 2.1.10.11/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-shells/fish/files/fish-1.23.1-multi-line_prompts.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/files/fish-1.23.1-multi-line_prompts.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/files/fish-1.23.1-multi-line_prompts.patch?rev=1.1&content-type=text/plain

Index: fish-1.23.1-multi-line_prompts.patch
===================================================================
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 );






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-12 12:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-12 12:18 [gentoo-commits] gentoo-x86 commit in app-shells/fish/files: fish-1.23.1-multi-line_prompts.patch Michael Weber (xmw)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox