Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allocate real pty #8

Merged
merged 11 commits into from
Jan 17, 2024
Merged

feat: allocate real pty #8

merged 11 commits into from
Jan 17, 2024

Conversation

aymanbagabas
Copy link
Member

@aymanbagabas aymanbagabas commented Nov 29, 2023

This adds a new PtyHandler to handle allocating PTYs and storing them in
a platform specific field in Pty. This PR is backward-compatible,
it defaults to EmulatePty handler that sets the emulatePty field in
context and uses PtyWriter to preserve the current behavior.

Supersedes #7

TODO:

session.go Outdated Show resolved Hide resolved
session.go Outdated Show resolved Hide resolved
pty.go Outdated Show resolved Hide resolved
options.go Outdated Show resolved Hide resolved
This adds a new PtyHandler to handle allocating PTYs and storing them in
a platform specific field in `Pty`. This PR is backward-compatible,
it defaults to EmulatePty handler that sets the `emulatePty` field in
context and uses `PtyWriter` to preserve the current behavor.
options.go Outdated Show resolved Hide resolved
options.go Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
go.mod Show resolved Hide resolved
@aymanbagabas aymanbagabas merged commit 7ed763a into master Jan 17, 2024
@aymanbagabas aymanbagabas deleted the ptysess branch January 17, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants