zsh-autosuggestions/spec
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
..
integrations Refactor async mode to no longer use zpty 2019-04-09 14:45:22 -06:00
options Refactor async mode to no longer use zpty 2019-04-09 14:45:22 -06:00
strategies Revert async process substitution & completion strategy 2018-12-16 20:49:06 -07:00
widgets Enabling suggestions should not fetch a suggestion if buffer is empty 2017-03-05 12:53:13 -05:00
async_spec.rb Refactor async mode to no longer use zpty 2019-04-09 14:45:22 -06:00
kill_ring_spec.rb Don't break kill ring rotation 2018-05-15 12:54:09 -06:00
multi_line_spec.rb Lots of async changes 2017-02-16 19:19:30 -07:00
spec_helper.rb Don't overwrite config with default values 2018-11-18 12:39:23 -07:00
terminal_session.rb Revert async process substitution & completion strategy 2018-12-16 20:49:06 -07:00