Skip to content

Commit

Permalink
fixed bug where bazel automatically enables curses (#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.
  • Loading branch information
LeFrosch authored Dec 10, 2024
1 parent 3db8a9d commit 2bea8d9
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 2bea8d9

Please sign in to comment.