bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11167: trunk; term.el inserts newline when erasing-to-eol [PATCH]


From: Chong Yidong
Subject: bug#11167: trunk; term.el inserts newline when erasing-to-eol [PATCH]
Date: Fri, 30 Nov 2012 15:48:44 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.90 (gnu/linux)

Geoff Jacobsen <geoffjacobsen@gmail.com> writes:

> When term.el receives a "^[[K" erase-end-of-line the
> term-erase-in-line function inserts a new line. 
>
> When variable term-scroll-show-maximum-output is set to t this can
> result in a blank line at the bottom of the buffer.
>
> This breaks programs such as less which won't display the top line.
>
> I can't see the purpose for the new-line. The following patch removes
> it.

Sorry for the late response.  Do you have a simple recipe demonstrating
the problem?  I can't reproduce any problem with "less", which seems to
display fine (including the top line) under term mode.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]