diff options
| author | Peter Stephenson <p.stephenson@samsung.com> | 2018-07-30 15:39:51 +0100 |
|---|---|---|
| committer | Peter Stephenson <p.stephenson@samsung.com> | 2018-07-30 15:39:51 +0100 |
| commit | e6f2d776d3ce582533fc6177082270872fcf67a3 (patch) | |
| tree | 17020836208a766fd0fd48826d92e4e4be5caaa0 | |
| parent | 43184: Remove reference to ftp_sites.yo (diff) | |
| download | zsh-e6f2d776d3ce582533fc6177082270872fcf67a3.tar zsh-e6f2d776d3ce582533fc6177082270872fcf67a3.tar.gz zsh-e6f2d776d3ce582533fc6177082270872fcf67a3.tar.bz2 zsh-e6f2d776d3ce582533fc6177082270872fcf67a3.tar.lz zsh-e6f2d776d3ce582533fc6177082270872fcf67a3.tar.xz zsh-e6f2d776d3ce582533fc6177082270872fcf67a3.tar.zst zsh-e6f2d776d3ce582533fc6177082270872fcf67a3.zip | |
43225: Recalculate ZLE timeout.
Needed when looping owing to having handled a special fd.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | Src/Zle/zle_main.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2018-07-30 Peter Stephenson <p.stephenson@samsung.com> + + * 43225: Src/Zle/zle_main.c: recalculate timeout after calling + handler within ZLE raw read. + 2018-07-29 Matthew Martin <phy1729@gmail.com> * 43185: Completion/Zsh/Type/_command_names: Use [ suffix for diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c index 99e44a744..7ec8afeb6 100644 --- a/Src/Zle/zle_main.c +++ b/Src/Zle/zle_main.c @@ -804,6 +804,8 @@ raw_getbyte(long do_keytmout, char *cptr) } # endif } + /* If looping, need to recalculate timeout */ + calc_timeout(&tmout, do_keytmout); } # ifdef HAVE_POLL zfree(fds, sizeof(struct pollfd) * nfds); |
