Re: [hackers] [st][PATCH] Fix for wide character being incorrectly cleared on MODE_INSERT

2023-06-25 Thread Hiltjo Posthuma
On Sun, Jun 25, 2023 at 05:38:33AM +, Shi Tian wrote: > Under insert mode, when inserting a normal character in front of > a wide character, the affected region is shifted to the right by > one cell. However, the empty cell is reset as if being a part of a > wide character, causing the

[hackers] [st][PATCH] Fix for wide character being incorrectly cleared on MODE_INSERT

2023-06-25 Thread Shi Tian
Under insert mode, when inserting a normal character in front of a wide character, the affected region is shifted to the right by one cell. However, the empty cell is reset as if being a part of a wide character, causing the following cell being mishandled as a dummy cell. To reproduce the bug: