You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mikaeleiman@Berit ~/temp> ls
C#.tmbundle jlink-test s3stats
dmtp libusb-0.1.12.tar.gz
dmtp_corp namnlös mapp
mikaeleiman@Berit ~/temp> cd namnlös mapp/
mikaeleiman@Berit ~/temp> cd ammnlös mapp/
I have a dir with a name containing a multi-byte UTF8 character, "namnlös mapp". When I type "cd n", the rest of the name is auto-complete-previewed (yay!). However, instead of the insert point being on "a", as you would expect, it's been moved back to "n". So when I type the second letter of the name, it overwrites the first letter, resulting in the last line of the example.
The text was updated successfully, but these errors were encountered:
The deeper problem is that fish has no way of representing that a zero-width character has been output, so the combining marks can get lost very easily.
I rewrote the line representation here to add support. That should fix this.
Example:
I have a dir with a name containing a multi-byte UTF8 character, "namnlös mapp". When I type "cd n", the rest of the name is auto-complete-previewed (yay!). However, instead of the insert point being on "a", as you would expect, it's been moved back to "n". So when I type the second letter of the name, it overwrites the first letter, resulting in the last line of the example.
The text was updated successfully, but these errors were encountered: