[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Default behavior of C-l causes flickering on TTY frames
From: |
Eli Zaretskii |
Subject: |
Re: Default behavior of C-l causes flickering on TTY frames |
Date: |
Sun, 12 Dec 2021 17:00:27 +0200 |
> From: Daniel Martín <mardani29@yahoo.es>
> Cc: emacs-devel@gnu.org
> Date: Sun, 12 Dec 2021 15:51:41 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >
> > But why don't you customize that variable if you dislike the redraws
> > and OTOH don't have the problem with garbled displays?
>
> Yes, I know. I suppose there's a lot of variability in the
> implementation quality of terminals, so this default cannot be changed.
It's not just the terminals. It's enough to C-z out of Emacs and run
something that messes up the terminal to need this feature. It is
also consistent with other programs that have similar features: Bash,
GDB, etc.: they clear the display when you type C-l. So having this
in Emacs requires less Emacs-specific muscle memory.
> I don't use terminal Emacs a lot, but I always thought the
> flickering was a bug or a poor implementation somewhere, because I
> didn't experience the same flickering effect in other terminal-based
> text editors.
It flickers _only_ when you manually type C-l, not when the function
is invoked from Lisp. So it's you yourself who causes the flickering,
so to say ;-)