-
Notifications
You must be signed in to change notification settings - Fork 79
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
Color issues when running the program under a systemd service #45
Comments
are you using the bubbletea middleware? it does set a color profile, so that should work |
@aymanbagabas is this related to charmbracelet/bubbles#152 do you think? Seems similar to a discussion I saw in the Slack 🤔 |
Related PR: muesli/termenv#81 For an example of how to do autodetection of clients using wish and passing through to lipgloss, see ssh-wars Note that I forked and modified bubbles and lipgloss, so check my go.mod for replace directives |
fwiw, for now you can force a profile: https://github.com/charmbracelet/wish/blob/v0.5.0/bubbletea/tea.go#L46 Keep in mind it will apply to all sessions though |
FWIW just to clarify: you can use |
Hi!
First, thanks for the great framework to make pretty terminal applications :)
I am currently working on a SSH application, using Wish and BubbleTea. In particular, I am using somewhere a colored progress bar. This is working well.
To manage and start properly my application, I am using a simple systemd service:
And when I start this service, the SSH server is working well, but my terminal has no color, all is black and white. This happens only when I run the application through the systemd service. When I manually launch the binary, the colors are well displayed.
Do you know the origin of the issue, and how to fix it? I don't really want to keep my application opened in a tmux :D
The text was updated successfully, but these errors were encountered: