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

fix: use pty aware charmbracelet/ssh #219

Closed
wants to merge 4 commits into from
Closed

Conversation

aymanbagabas
Copy link
Member

@aymanbagabas aymanbagabas requested a review from caarlos0 January 8, 2024 18:22
@aymanbagabas aymanbagabas force-pushed the using-pty-update branch 4 times, most recently from be35f67 to 154af23 Compare January 8, 2024 19:15
Copy link

codecov bot commented Jan 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (59c5884) 76.40% compared to head (bf2f028) 76.40%.
Report is 3 commits behind head on using-pty.

Additional details and impacted files
@@            Coverage Diff             @@
##           using-pty     #219   +/-   ##
==========================================
  Coverage      76.40%   76.40%           
==========================================
  Files             17       17           
  Lines            907      907           
==========================================
  Hits             693      693           
  Misses           160      160           
  Partials          54       54           

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

Copy link
Member

@caarlos0 caarlos0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll rebase these changes manually as it's conflicted now

Thanks for the PR 🙏

examples/wish-exec/other.go Outdated Show resolved Hide resolved
caarlos0 added a commit that referenced this pull request Jan 8, 2024
based on #219

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>
@caarlos0
Copy link
Member

caarlos0 commented Jan 9, 2024

merged manually in 50a706e

@caarlos0 caarlos0 closed this Jan 9, 2024
@caarlos0 caarlos0 deleted the using-pty-update branch January 9, 2024 11:24
caarlos0 added a commit that referenced this pull request Jan 18, 2024
* feat: use pty

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: deps

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: deps

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: update example

* fix: deps

* docs: fix example

* feat: pass lipgloss.Renderer down to the tea.App

* fix: go mod tidy

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* improvements

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: pty

Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: better diff

* chore: typo

* fix: godocs

* fix: allocate pty on macos

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: improvements

based on #219

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>

* chore: godoc

* fix: review

Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: example

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: tea program handler

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: examples

* refactor: improve p!=nil handling

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: ensure session envs are available to renderer (#223)

* fix: rename func to makeoptions

* fix: not too much breaking

* chore: fix gitignore

* fix: dep

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: update charmbracelet/ssh

* fix: update dep

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* chore: go mod tidy

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* chore: update example

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>
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.

2 participants