Skip to content

Commit

Permalink
fixed bug where bazel automatically enables curses (bazelbuild#7143)
Browse files Browse the repository at this point in the history
Bazel is still run using a PtyCommandLine and seems to automatically enable curses when using the old sync view.

(cherry picked from commit 2bea8d9)
  • Loading branch information
ujohnny committed Dec 17, 2024
1 parent bfd15a5 commit 92449bb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ class BazelExecService(private val project: Project) : Disposable {
// the old sync view does not use a PTY based terminal
if (BuildViewMigration.present(ctx)) {
cmdBuilder.addBlazeFlags("--curses=yes")
} else {
cmdBuilder.addBlazeFlags("--curses=no")
}

val cmd = cmdBuilder.build()
Expand Down

0 comments on commit 92449bb

Please sign in to comment.