diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/Zle/zle_main.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index e56749981..465320208 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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); |