mirror of https://github.com/sbt/sbt.git
Allow supershell in no color mode
Disabling supershell when color mode is disabled is a sensible default (especially for piped output). However, I think it should still be possible to use supershell in no color mode. This requires a util change that also enables supershell in no color mode.
This commit is contained in:
parent
183b45897a
commit
a02a58dcfa
|
|
@ -88,7 +88,7 @@ object SysProp {
|
|||
|
||||
def fileCacheSize: Long =
|
||||
SizeParser(System.getProperty("sbt.file.cache.size", "128M")).getOrElse(128L * 1024 * 1024)
|
||||
def supershell: Boolean = color && getOrTrue("sbt.supershell")
|
||||
def supershell: Boolean = booleanOpt("sbt.supershell").getOrElse(color)
|
||||
|
||||
def supershellSleep: Long = long("sbt.supershell.sleep", 100L)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue