Re: [Fish-users] fish_prompt.fish not getting called

2017-09-30 Thread Robert Carpenter
Hey Mark, I've seen this too, and I spent some time digging around in the source today and I don't think there is a way around it: https://github.com/fish-shell/fish-shell/blob/cb352317bdd421d140771de62c23ee3c32138502/src/screen.cpp#L956-L961 Someone can correct me if I'm wrong here, but I beli

Re: [Fish-users] fish_prompt.fish not getting called

2017-09-30 Thread Mark Volkmann
Maybe the issue is that left_prompt_layout.max_line_width isn't computed correctly for multi-line prompts. On Sat, Sep 30, 2017 at 3:53 PM, Robert Carpenter wrote: > Hey Mark, > > I've seen this too, and I spent some time digging around in the source > today and I don't think there is a way arou

Re: [Fish-users] fish_prompt.fish not getting called

2017-09-30 Thread Mark Volkmann
Perhaps my function is getting called, but fish becomes convinced that my prompt won't fit and so it just outputs "> ". I'm trying to manage that by outputting a multi-line prompt where each line I output does fit, but I suspect fish thinks I'm trying to output everything on a single line. Is there

[Fish-users] fish_prompt.fish not getting called

2017-09-30 Thread Mark Volkmann
I have defined a custom fish prompt that works great most of the time. I have verified that it works when $COLUMNS is >= 57 or $COLUMNS is between 20 and 47. However, my fish_prompt function doesn't even get called if $COLUMNS is 52. Any idea what could cause that? My code is at https://github.com