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

Type members

Classlikes

final implicit class TerminalOps(term: Terminal) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any

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]

Implicits

Implicits

final implicit def TerminalOps(term: Terminal): TerminalOps