You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the `dumb` JLine option to `null` instead of `false` when it is not forced. This allows JLine to fall back to a dumb terminal.
Also adapt `CoursierScalaTests` accordingly: test that the `scala` command executes commands fed through standard input correctly.
.dumb(dumbTerminal) // fail early if not able to create a terminal
26
-
.build()
24
+
varbuilder=TerminalBuilder.builder()
25
+
ifSystem.getenv("TERM") =="dumb"then
26
+
// Force dumb terminal if `TERM` is `"dumb"`.
27
+
// Note: the default value for the `dumb` option is `null`, which allows
28
+
// JLine to fall back to a dumb terminal. This is different than `true` or
29
+
// `false` and can't be set using the `dumb` setter.
30
+
// This option is used at https://github.com/jline/jline3/blob/894b5e72cde28a551079402add4caea7f5527806/terminal/src/main/java/org/jline/terminal/TerminalBuilder.java#L528.
0 commit comments