Skip to content

2.2.0 without sys wcwidth - #2217

Closed
nyarly wants to merge 2 commits into
fish-shell:masterfrom
nyarly:2.2.0-without_sys_wcwidth
Closed

nyarly wants to merge 2 commits into
fish-shell:masterfrom
nyarly:2.2.0-without_sys_wcwidth

Conversation

@nyarly

@nyarly nyarly commented Jul 17, 2015

Copy link
Copy Markdown
Contributor

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!

@ridiculousfish

Copy link
Copy Markdown
Member

I merged this as e7273e1. Let's see if anyone experiences a regression. Thanks for this fix!

@zanchey zanchey added this to the next-2.x milestone Jul 20, 2015
@zanchey

zanchey commented Jul 23, 2015

Copy link
Copy Markdown
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.

@zanchey zanchey mentioned this pull request Nov 28, 2017
1 task
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fish mis-identifies rightmost point of prompt with utf8 characters

3 participants