Packages

t

sbt

Terminal

trait Terminal extends AnyRef

A Terminal represents a ui connection to sbt. It may control the embedded console for an sbt server or it may control a remote client connected through sbtn. The Terminal is particularly useful whenever an sbt task needs to receive input from the user.

Source
Terminal.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Terminal
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getHeight: Int

    Returns the height of the terminal

    Returns the height of the terminal

    returns

    the height of the terminal

  2. abstract def getWidth: Int

    Returns the width of the terminal.

    Returns the width of the terminal.

    returns

    the width ot the terminal

  3. abstract def inputStream: InputStream

    An input stream associated with the terminal.

    An input stream associated with the terminal. Bytes inputted by the user may be read from this input stream.

    returns

    the terminal's input stream

  4. abstract def printStream: PrintStream

    A print stream associated with the terminal.

    A print stream associated with the terminal. Writing to this output stream should display text on the terminal.

    returns

    the terminal's input stream

  5. abstract def setMode(canonical: Boolean, echo: Boolean): Unit

    Sets the mode of the terminal.

    Sets the mode of the terminal. By default,the terminal will be in canonical mode with echo enabled. This means that the terminal's inputStream will not return any bytes until a newline is received and that all of the characters inputed by the user will be echoed to the terminal's output stream.

    canonical

    toggles whether or not the terminal input stream is line buffered

    echo

    toggles whether or not to echo the characters received from the terminal input stream

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped