clink
clink copied to clipboard
Unicode compatibility issue with WSL
Unicode works when using cmd, but after calling bash, problems occor. I see from previous issue that After typing some chinese characters, e.g. type four characters 一二三四
, if you press backspace, it will look like 一二
, i.e. it looks like two characters have been deleted. But actually only one is deleted, see the picture for proof. If you press backspace a few more times, you will find the cursor jumping back to the previous line. It looks like the width of CJK characters are calculated incorrectly: they single character, but double width.
//Sorry for using cmder instead of directly using clink for taking screenshot. I met this problem when using cmder, and here is the issue at cmder: Behaviour Moving around / Deleting Korean (possibly all CJK) characters.
I think this should be working correctly in the chrisant996 fork of Clink.