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
- X-seq: zsh-workers 40677
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Eric Freese <ericdfreese@xxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: [PATCH] Include number of chars in zle unget mechanism in $PENDING calculation
- Date: Tue, 28 Feb 2017 18:52:33 -0800
- Authentication-results: amavisd4.gkg.net (amavisd-new); dkim=pass (2048-bit key) header.d=brasslantern-com.20150623.gappssmtp.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=rc+26jdUGlyGHRbGGmhRhhChA9igTSAqDDl+1uhdiOI=; b=cCj180dE+NEf/aQcB36ClU/IFDP43Ex3+YPbdyIJiSCvQjgaaoEjOUgUFVkapKlwCb QuB//ajdPofxy82Q0U5AIztj45wPw1v2u5VUIXZe20xD5BBwZe/g5+tTibXqLmxFjg0X FP+yQ0k2fMQLXmEMr/IsCMH9Rkjhg+V0e8cWnuDIG+gn0DGOC11izTDTbnWltm3nleGW JdR24H1odulqEUh9O/kx6QkwAkrOwu9fJBuQB09YSFKcjXD9yN+aSdthFGBQZEizEuRR yVFcA3qapXC0+m+Ae3aAJBIeCsThsNAZVqIu1sUmwBvdAki6FtM6q7HF9BUUOzX58dLi 61yA==
- In-reply-to: <20170301012534.67145-1-ericdfreese@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20170301012534.67145-1-ericdfreese@gmail.com>
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