nnn: wcswidth returns different values for same Unicode code point between macOS and Linux
2023-08-09
When attempting to integrate nnn with Helix, I encountered an interesting issue that resulted in duplicate first characters in the filename:

What’s interesting is that this issue doesn’t occur on Linux:

I’ve spent several days troubleshooting this problem but haven’t been able to identify the root cause. The only solution I could come up with is a workaround, and I must admit, I’m still not entirely satisfied with it.
Quan Tong