Subject: bug#57728: 29.0.50; Emacs writes wrong glyph at the bottom-right corner of text terminals

From: Gerd Möllmann <[email-masked]>
Date: Mon, 12 Sep 2022 13:59:05 +0200

Eli Zaretskii <[email-masked]> writes:

>> From: Gerd Möllmann <[email-masked]>
>> This is because 'write' deliberatly leaves the bottom-right corner alone
>> if the terminal has "auto right margin" (autowrap).
>
> But AFAIU, the bug actually shows that we somehow _do_ write there,
> although the display engine assumes we don't.  Right?

My theory is that no-one but tty_write_glyphs knows that it didn't write
to the bottom-right corner.  At least so far I couldn't find code that
takes this into account.