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: add RequestPty field and Connect method to MakeConfig struct #89

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

appleboy
Copy link
Owner

@appleboy appleboy commented Nov 6, 2023

  • Add a RequestPty field to the MakeConfig struct
  • Add a Connect method to the MakeConfig struct
  • Request a pseudo-terminal if RequestPty is set in the Connect method

- Add a `RequestPty` field to the `MakeConfig` struct
- Add a `Connect` method to the `MakeConfig` struct
- Request a pseudo-terminal if `RequestPty` is set in the `Connect` method

Signed-off-by: Bo-Yi Wu <[email protected]>
Copy link

codecov bot commented Nov 6, 2023

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (e282a5c) 82.11% compared to head (9baa11e) 79.48%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
- Coverage   82.11%   79.48%   -2.64%     
==========================================
  Files           1        1              
  Lines         302      312      +10     
==========================================
  Hits          248      248              
- Misses         37       46       +9     
- Partials       17       18       +1     
Files Coverage Δ
easyssh.go 79.48% <0.00%> (-2.64%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@appleboy appleboy merged commit 5666e2e into master Nov 6, 2023
@appleboy appleboy deleted the tty branch November 6, 2023 03:17
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.

1 participant