See the image below. Note that it only happens to the links detected by the weblinks addon but not OSC 8 links. It also only happens to webgl and canvas renderers but the dom one.

I looked at the code a bit. It seems that the web link addon uses the character position (i.e. "哈" is counted 1 even though it is a wide character) as the the value for IBufferCellPosition.x. Code here. Is this the correct way?
BTW, I am not sure whether this is just #2887.
Details
- Browser and browser version: Chrome 110
- xterm.js version: Tot