zsh-autosuggestions/spec/options
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
..
buffer_max_size_spec.rb Lots of async changes 2017-02-16 19:19:30 -07:00
highlight_style_spec.rb Lots of async changes 2017-02-16 19:19:30 -07:00
original_widget_prefix_spec.rb Lots of async changes 2017-02-16 19:19:30 -07:00
strategy_spec.rb Add after_sourcing hook for tests 2018-11-24 09:56:52 -07:00
use_async_spec.rb Make asynchronous suggestions disabled by default 2017-04-14 08:48:54 -06:00
widget_lists_spec.rb Add a spec for unlisted widgets fetching a new suggestion 2017-03-03 18:43:10 -05:00