Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 3.1.5-pws-15 prompt change



Timothy J Luoma wrote:
> Now, why is there a blank line there after my username?

This seems to be due to the lines

	    if (lpromptw == 0)
		zputs("\n", shout);	/* works with both hasam and !hasam */

which occur a couple of times in zle_refresh.c.  I don't know why they're
there, so I don't know how to alter them.  Maybe the test needs to be
something like if (lpromptw == 0 && lprompth == 1) ?

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



Messages sorted by: Reverse Date, Date, Thread, Author