[cjk] incomplete deletion of ambiguous-width characters when forced to 'wide'
@chpe
Submitted by Christian Persch Link to original bug (#727462)
Description
$ LANG=zh_CN.UTF-8 VTE_CJK_WIDTH=wide ./vte-2.91
Type "a×b". Press backspace twice; the ambiguous-width character × appears only half-deleted. On a new line, type "a×b" again. Press Home, press Del twice. Again, the × appears only half-deleted, this time from the front.
Now it also looks like readline is confused by the ambiguous-width characters becoming wide, but that doesn't explain the display corruption, nor the incorrect cursor position after the backspace/delete, which also happen when not using readline but just emitting the right escape sequences.
This works correctly with LANG=zh_CN.GBK.
Resolution: RESOLVED NOTGNOME