Repository navigation
Conversation
Member
|
I merged this as e7273e1. Let's see if anyone experiences a regression. Thanks for this fix! |
Member
|
This seems to be working ok for me on Linux? Need to remember to clean it up before a release and remove the conditional entirely, but I think it can be left as is for now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mostly a simple patch, which may not be worthy as is: treat all wcwidth implementations as broken, not just OS X's. This fixes #2199 for me.
(Note that my git config is really aggressive about cleaning up WS - all other file changes are trailing WS being stripped.)
It seems to me that the correct approach here is to just change fish_wcwidth to be mk_wcwidth and be done ... unless there are cases where that would be wrong, in which case the configure tests need to check for broken-ness rather than assume APPLE is broken and everything else is okay.
I'm willing to continue to work on this if it seems worthwhile. In the meantime, fish completions work for me!