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

Re: [PATCH] Include number of chars in zle unget mechanism in $PENDING calculation



Yeah, this was discussed (with identical patch) back in May 2016 in
workers/38522.  It turned out not to have the desired effect so we
didn't do anything with it.

The question is whether it's useful to be able to tell that TTY read
will not block, separately from whether ZLE has available input.
There are cases where one might be invoking a tty read in the middle
of a widget, before any of the "zle -U" pushback would be consumed.

We'd also have to change the doc that says "where the shell is not able
to get this information, this parameter will always have a value of zero."



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