Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ticking clock



On 14/08/18 10:27 AM, Bart Schaefer wrote:
On Mon, Aug 13, 2018 at 3:45 PM, Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
So no way to have it tick only when it's idle, and never force a scroll?
The terminal emulator doesn't "inform" the shell when you scroll back,
so there's no way for the shell to know that it should stop sending
output.
Right , so the prompt doesn't even know if it's visible.  And I can see that it's no small thing for the shell to try to convince the terminal not to detect that it's been written to in some particular situation.
Some emulators have "scroll to bottom on tty input" as well as (or
instead of) "on tty output" -- if possible with your emulator, you
could try enabling only the former.

Sure.  There's little practical difficulty, I'm mostly interested in the theory of the thing.  Thanks Bart.






Messages sorted by: Reverse Date, Date, Thread, Author