You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|
8 years ago | |
|---|---|---|
| .. | ||
| integrations | 8 years ago | |
| options | 9 years ago | |
| strategies | 8 years ago | |
| widgets | 9 years ago | |
| async_spec.rb | 8 years ago | |
| kill_ring_spec.rb | 8 years ago | |
| multi_line_spec.rb | 9 years ago | |
| spec_helper.rb | 9 years ago | |
| terminal_session.rb | 8 years ago | |