zsh-autosuggestions/spec
Eric Freese df5fb858aa Destroy old pty even if it's no longer running (#249)
For unknown reasons, the pty will occasionally quit running. In these
cases, we still want to remove it so that a fresh one can be created. We
don't actually need this check because error messages from `zle` and
`zpty` are redirected to /dev/null.

One sure way to kill all currently running pty's is to run `exit` in a
subshell. Even without zsh-autosuggestions loaded, the following works:

    % zmodload zsh/zpty
    % zpty -b foo cat
    % zpty -b bar cat
    % zpty
    (31689) bar: cat
    (31666) foo: cat
    % $(exit)
    % zpty
    (finished) bar: cat
    (finished) foo: cat
2018-05-15 13:55:37 -06:00
..
integrations Create general spec for async behavior 2018-05-15 13:42:18 -06:00
options Make asynchronous suggestions disabled by default 2017-04-14 08:48:54 -06:00
strategies Add test for special characters with match_prev_cmd strategy 2017-08-18 11:18:07 -06:00
widgets Enabling suggestions should not fetch a suggestion if buffer is empty 2017-03-05 12:53:13 -05:00
async_spec.rb Destroy old pty even if it's no longer running (#249) 2018-05-15 13:55:37 -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 Lots of async changes 2017-02-16 19:19:30 -07:00
terminal_session.rb Add method to connect terminal to tmux session during tests 2018-05-15 11:44:18 -06:00