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

Keep bazel from automatically enabling curses with the old sync view #7143

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

LeFrosch
Copy link
Collaborator

@LeFrosch LeFrosch commented Dec 9, 2024

Since Bazel is invoked using the PtyCommandLine it seems to automatically enable curses. Therefore, to prevent this when using the old sync view this PR adds the explicit --curses=no option.

@LeFrosch LeFrosch marked this pull request as ready for review December 9, 2024 15:34
@github-actions github-actions bot added product: CLion CLion plugin product: IntelliJ IntelliJ plugin product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Dec 9, 2024
Bazel is still run using a PtyCommandLine and seems to automatically enable curses when using the old sync view.
@tpasternak tpasternak merged commit 2bea8d9 into bazelbuild:master Dec 10, 2024
5 checks passed
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Dec 10, 2024
ujohnny pushed a commit to ujohnny/intellij that referenced this pull request Dec 17, 2024
Bazel is still run using a PtyCommandLine and seems to automatically enable curses when using the old sync view.

(cherry picked from commit 2bea8d9)
ujohnny added a commit to ujohnny/intellij that referenced this pull request Dec 17, 2024
Bazel is still run using a PtyCommandLine and seems to automatically enable curses when using the old sync view.

(cherry picked from commit 2bea8d9)
mai93 pushed a commit that referenced this pull request Dec 17, 2024
* fixed bug where bazel runs with curses when using the old sync view (#7139)

The old sync view does not use a pty based terminal and cannot handle bazel output correctly when it runs with curses.

(cherry picked from commit 0fb3f81)

* fixed bug where bazel automatically enables curses (#7143)

Bazel is still run using a PtyCommandLine and seems to automatically enable curses when using the old sync view.

(cherry picked from commit 2bea8d9)

* Do not append `\n` for PROCESS since that output has all of the delimiters and can be chunked not per line. (#7146)

(cherry picked from commit f5f8f24)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: CLion CLion plugin product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin
Projects
Development

Successfully merging this pull request may close these issues.

5 participants