-
Notifications
You must be signed in to change notification settings - Fork 845
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
Add termenv's SetWindowTitle to BubbleTea? #610
Labels
enhancement
New feature or request
Comments
Yep, this is a feature we’d like to add. Because of the i/o involved it should be implemented as a |
aymanbagabas
added a commit
that referenced
this issue
Nov 21, 2022
Set the terminal window title using termenv. Fixes: #610
aymanbagabas
added a commit
that referenced
this issue
Nov 21, 2022
Set the terminal window title using termenv. Fixes: #610
aymanbagabas
added a commit
that referenced
this issue
Nov 21, 2022
Set the terminal window title using termenv. Fixes: #610
aymanbagabas
added a commit
that referenced
this issue
Dec 4, 2023
Set the terminal window title using termenv. Fixes: #610
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In BubbleTea there are wrappers for many of escape sequences that termenv provides (show/hide cursor, enter/exit alt screen, clearScreen).
I think it would be also be nice to include
termenv
sSetWindowTitle
in BubbleTea.It's easy enough to just output the escape codes to switch the title in your view, but I think adding this one would be in the spirit of the rest of BubbleTea.
Ideally I would like to trigger title changes periodically based on important state changes identified during
Update()
rather than splicing it into the View.The text was updated successfully, but these errors were encountered: