forked from gliderlabs/ssh
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fills the gap of allocating a real PTY when a session asks for one. It uses [go-pty](https://github.com/aymanbagabas/go-pty) to support PTYs for both Unix and Windows OSs. It also adds two new PtyCallback options, `AllocatePty` opens a new PTY for the session when requested. `EmulatePty` preserves the current behavior of the library. Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
- Loading branch information
1 parent
1a051f8
commit 669b249
Showing
6 changed files
with
447 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters