zsh-autosuggestions/src
Eric Freese e405afab29 Refactor async mode to no longer use zpty
See technique used in `fast-syntax-highlighting`:
- ca2e18bbc9
- http://www.zsh.org/mla/users/2018/msg00424.html

Also see http://www.zsh.org/mla/users/2018/msg00432.html

In async response handler:
- We only want to read data in case of POLLIN or POLLHUP. Not POLLNVAL
  or select error.
- We always want to remove the handler, so it doesn't get called in an
  infinite loop when error is nval or err.

There is an upstream bug that prevents ctrl-c from resetting the prompt
immediately after a suggestion has been fetched asynchronously. A patch
has been submitted, but a workaround for now is to add `command true`
after the exec.

See https://github.com/zsh-users/zsh-autosuggestions/issues/364
2019-04-09 14:45:22 -06:00
..
strategies Revert async process substitution & completion strategy 2018-12-16 20:49:06 -07:00
async.zsh Refactor async mode to no longer use zpty 2019-04-09 14:45:22 -06:00
bind.zsh speed up widget rebinding by removing redundant array subscripts 2019-04-01 14:56:53 -06:00
config.zsh Refactor async mode to no longer use zpty 2019-04-09 14:45:22 -06:00
fetch.zsh Do not leak global variables REPLY and strategy 2018-06-18 16:39:48 -06:00
highlight.zsh Fix conditionals to use [[ and (( rather than [ 2017-11-27 08:31:41 -07:00
setup.zsh Revert async process substitution & completion strategy 2018-12-16 20:49:06 -07:00
start.zsh Refactor async mode to no longer use zpty 2019-04-09 14:45:22 -06:00
util.zsh Revert "Simplify escaping of pattern and fix match_prev_cmd strategy" 2017-12-06 08:08:53 -07:00
widgets.zsh Refactor async mode to no longer use zpty 2019-04-09 14:45:22 -06:00