Skip to content

[JetBrains Backend Plugin] Update the Terminal Widget title whenever there's a change on the title from Gitpod Task Terminal #12142

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

Closed
felladrin opened this issue Aug 15, 2022 · 0 comments · Fixed by #12401

Comments

@felladrin
Copy link
Contributor

Currently, we sometimes see terminal widgets set with the wrong title when they are attached to Gitpod Task Terminals.

To implement it we can use a StreamObserver for ListenTerminalResponse, which provides us title changes from Gitpod Tasks Terminals:

object : StreamObserver<TerminalOuterClass.ListenTerminalResponse> {
override fun onNext(response: TerminalOuterClass.ListenTerminalResponse) {
when {
response.hasTitle() -> {
debug("Received terminal title: ${response.title}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant