Skip to content

fix(tea): do not force color profile if session is not a PTY - #443

Merged
aymanbagabas merged 2 commits into
mainfrom
bm-force-cp
Mar 25, 2025
Merged

aymanbagabas merged 2 commits into
mainfrom
bm-force-cp

Conversation

@aymanbagabas

Copy link
Copy Markdown
Contributor

We only force the color profile if the requested session is a PTY. We also print warning messages to the client's stderr if we force a color profile.

Fixes: charmbracelet/soft-serve#683

We only force the color profile if the requested session is a PTY. We
also print warning messages to the client's stderr if we force a color
profile.

Fixes: charmbracelet/soft-serve#683
@aymanbagabas
aymanbagabas requested a review from a team as a code owner March 25, 2025 00:07
@aymanbagabas
aymanbagabas requested review from a team, bashbunni and caarlos0 and removed request for a team March 25, 2025 00:07
Comment thread bubbletea/tea.go Resolved
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
@aymanbagabas
aymanbagabas merged commit 5385cd3 into main Mar 25, 2025
@aymanbagabas
aymanbagabas deleted the bm-force-cp branch March 25, 2025 19:20
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.

Term type negotiaion warning is scuffing git protocol

4 participants

⌂ 换网址