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

Re: get the number of active jobs to show in the prompt?



In article <011003130131.ZM29770@xxxxxxxxxxxxxxxxxxxxxxx>,
   Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:

> > Why not having another widget that prints a "\r" instead of a "\n"?

> It's not the widget that's doing it.  It's the ZLE internal screen refresh
> routines.  All the widget does is set a flag telling the internals that the
> current line-editing "session" has terminated; the redraw is invoked upon
> return to the top of main command input loop.

OK, so there could be another flag to tell whether to print "\n" or "\r".

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



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