Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If given a prompt that includes a non-ascii char and a C locale, fish currently fails to properly display it. So you set `function fish_prompt; echo π; end` and it shows empty space. While the underlying cause is obviously using a C locale and non-C characters to begin with, this is an unacceptable failure mode. Apparently I misunderstood wcstombs, so I inadvertently broke this in 2b0b3d3 while trying to fix 5134949's crash. Just return the offending bit to pre-5134949 levels, so instead of an infinite recursion we just call a lame function a couple of times.
- Loading branch information