Terminal

sbt.internal.util.Terminal
See theTerminal companion trait
object Terminal

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Terminal.type

Members list

Value members

Concrete methods

def close(): Unit
def consoleLog(string: String): Unit
def read: Int
def systemInIsAttached: Boolean

Returns true if System.in is attached. When sbt is run as a subprocess, like in scripted or as a server, System.in will not be attached and this method will return false. Otherwise it will return true.

Returns true if System.in is attached. When sbt is run as a subprocess, like in scripted or as a server, System.in will not be attached and this method will return false. Otherwise it will return true.

Attributes

Returns

true if System.in is attached.

def withWriteLock[A](f: => A): A

Concrete fields

val sepBytes: Array[Byte]

Extensions

Extensions

extension (term: Terminal)
def ansi(richString: => String, string: => String): String