unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Ryan Crum <ryan@ryancrum.org>
Cc: 15744@debbugs.gnu.org
Subject: bug#15744: ansi-term: prompt moves to bottom of screen
Date: Thu, 13 Aug 2020 13:02:59 +0200	[thread overview]
Message-ID: <87h7t6erks.fsf@gnus.org> (raw)
In-Reply-To: <20131029020124.GC19655@cimmeria.members.linode.com> (Ryan Crum's message of "Mon, 28 Oct 2013 22:01:25 -0400")

Ryan Crum <ryan@ryancrum.org> 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





  reply	other threads:[~2020-08-13 11:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-28 19:02 bug#15744: 23.3; ansi-term: prompt moves to bottom of screen Olsen, Stuart J
2013-10-28 19:29 ` Olsen, Stuart J
2013-10-29  2:01 ` bug#15744: " Ryan Crum
2020-08-13 11:02   ` Lars Ingebrigtsen [this message]
2013-10-30 18:08 ` bug#15744: 23.3; " Olsen, Stuart J

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7t6erks.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=15744@debbugs.gnu.org \
    --cc=ryan@ryancrum.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).