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

Re: ticking clock



On Mon, 13 Aug 2018 at 18:09, Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
> I did this in zshrc:
>
>      ## 2018-08-10: ticking clock:
>      #RPS1=$'%t %w'
>      RPS1='%B%F{yellow}[%D{%L:%M:%S}]%f %w'
>      TMOUT=1
>      TRAPALRM() { zle reset-prompt }
>
> Nice to have the time ticking away there, but it kills back-scrolling --
> I scroll up, but every tick moves back to the bottom.  Fixable?

Maybe the terminal emulator has configuration option to not scroll
down on view-update? Turning it on is useful in general, allows to
e.g. scroll up and read ./configure log while it's still processing.

-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin



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