Subject: Re: bug#48399: 27.2; term-mode: After splitting window, newlines are inserted

From: Andreas Schwab <[email-masked]>
Date: Tue, 12 Jul 2022 16:14:10 +0200

On Jul 12 2022, Lars Ingebrigtsen wrote:

> I'm pretty unfamiliar with the term.el code.  Anybody know where to
> start poking?

strace tells that the shell, upon receiving SIGWINCH and noticing a
changed terminal size, redraws the prompt preceeded by a CR CSI K CR
sequence.

-- 
Andreas Schwab, SUSE Labs, [email-masked]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."