1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-19 18:57:59 +03:00
wezterm/wezterm-ssh
Wez Furlong e6421d1b72 pty: try_clone_writer -> take_writer
This breaking API change allows us to explicitly generate EOF when the
taken writer is dropped.

The examples have been updated to show how to manage read, write
and waiting without deadlock for both linux and windows.
Need to confirm that this is still good on macOS, but my
confidence is high.

I've also removed ssh2 support from this crate as part of this
change. We haven't used it directly in wezterm in a long while
and removing it from here means that there is slightly less code
to keep compiling over and over.

refs: https://github.com/wez/wezterm/discussions/2392
refs: https://github.com/wez/wezterm/issues/1396
2022-08-12 07:56:46 -07:00
..
examples Use clap::derive::Parser::parse() to fix deprecated warning 2022-05-29 09:54:38 -07:00
src pty: try_clone_writer -> take_writer 2022-08-12 07:56:46 -07:00
tests deps: remove pretty_env_loggger 2022-04-07 08:24:07 -07:00
Cargo.toml pty: try_clone_writer -> take_writer 2022-08-12 07:56:46 -07:00