Subject: bug#15744: ansi-term: prompt moves to bottom of screen

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 13 Aug 2020 13:02:59 +0200

Ryan Crum <[email-masked]> writes:

> Here's a patch that adds a variable `term-scroll-snap-to-bottom` in an
> attempt resolve this. It defaults to t to preserve current behavior
> (arguably best for curses-type interactions), but when you set it to
> nil it keeps your current scrolling position while typing as long as
> the prompt is still visible in the window.

Thanks; the patch still seems to work fine against Emacs 28, so I've
applied it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no