mirror of https://github.com/sbt/sbt.git
I introduced the terminalShellPrompt so that we could generate a prompt that was colored only if the terminal supported color. Rather than expose the terminal implementation detail, we can just use a boolean flag that toggles whether or not color is enabled and sbt can pass in the value of terminal.isColorEnabled into the function. |
||
|---|---|---|
| .. | ||
| main | ||
| test/scala/sbt | ||