Hi Tony,

fish does not attempt to wrap or truncate long prompts. Prompts often contain 
ANSI escape sequences, which make them difficult to wrap or truncate.

What you can do is inspect the value of $COLUMNS in your fish_prompt, and avoid 
outputting one that is too long. If you have any other ideas or suggestions for 
what fish should do here, I'd love to hear them.

Thanks,
_fish

On Jun 15, 2013, at 8:04 AM, Tony Wang <www...@gmail.com> wrote:

> Hi,
> 
> I’ve noticed that if the prompt is very long,
> (longer than the window width), it’ll become
> a single ‘>’, and it even won’t show a second
> line.
> 
> What’s the consideration behind it?
> I don’t think it’s friendly to users.
> I tried to google, but found nothing.
> 
> Is there any configuration to change that?
> Or, can I check if it happens, so I can try to
> show something abbreviated instead?
> 
> Thanks! :)
> 
> -- 
> BR,
> Tony Wang
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to