clink icon indicating copy to clipboard operation
clink copied to clipboard

Unicode compatibility issue with WSL

Open yangsheng6810 opened this issue 7 years ago • 1 comments

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. asdfas

//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.

yangsheng6810 avatar May 10 '17 23:05 yangsheng6810

I think this should be working correctly in the chrisant996 fork of Clink.

chrisant996 avatar Jan 16 '21 04:01 chrisant996