Control: retitle -1 xterm: characters at column $COLUMNS-1 or $COLUMNS (depending on the font) can disappear in a redraw
On 2026-09-30 19:52:55 -0400, Thomas Dickey wrote: > On Wed, Sep 30, 2026 at 01:47:50PM +0200, Vincent Lefevre wrote: > > When I move a window over an xterm window, the characters at > > column $COLUMNS-1 can disappear. See attached video. > > I don't see how to reproduce it. In a quick check I tried in xfce4, > but have in mind that window manager, bitmap vs TrueType fonts, > alternate screen could be a factor). Since it's not on the last > column, there's no likelihood of an off-by-one. This actually depends on the font. xterm -fa "Noto Mono-5" : $COLUMNS-1 ... xterm -fa "Noto Mono-10" : $COLUMNS-1 xterm -fa "Noto Mono-11" : $COLUMNS ... xterm -fa "Noto Mono-14" : $COLUMNS xterm -fn 6x13 -fa '' : $COLUMNS-1 Ditto with "DejaVu Sans Mono" instead of "Noto Mono". An important point: this happens only when the *right* border of the window that is moved is near the concerned column. To trigger the bug, the best is to move the window leftward and slowly enough. One can see that the characters of the concerned column start to appear, but when the window border reaches the column boundary (i.e. just after these characters are fully visible), they suddenly disappear completely. -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

