JLineTerminal

terminus.JLineTerminal
See theJLineTerminal companion class

Attributes

Companion
class
Source
JLineTerminal.scala
Graph
Supertypes
trait Writer
trait Reader
trait RawMode
trait Erase
trait Dimensions
trait Format
trait Cursor
trait Color
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited classlikes

object background

Attributes

Inherited from:
Color
Source
Color.scala
Supertypes
class Object
trait Matchable
class Any
object cursor

Attributes

Inherited from:
Cursor
Source
Cursor.scala
Supertypes
class Object
trait Matchable
class Any
object dimensions

Attributes

Inherited from:
Dimensions
Source
Dimensions.scala
Supertypes
class Object
trait Matchable
class Any
object erase

Attributes

Inherited from:
Erase
Source
Erase.scala
Supertypes
class Object
trait Matchable
class Any
object foreground

Attributes

Inherited from:
Color
Source
Color.scala
Supertypes
class Object
trait Matchable
class Any
object format

Attributes

Inherited from:
Format
Source
Format.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

Attributes

Source
JLineTerminal.scala
def run[A](f: () ?=> A): A

Attributes

Source
JLineTerminal.scala

Inherited methods

def alternateScreen[F <: Effect, A](f: F ?=> A): (F & AlternateScreenMode[F]) ?=> A

Run the given terminal program f in alternate screen mode, which means that whatever is displayed by f will not been shown when the program exits, and similarly key presses will not be saved in the history buffer.

Run the given terminal program f in alternate screen mode, which means that whatever is displayed by f will not been shown when the program exits, and similarly key presses will not be saved in the history buffer.

Attributes

Inherited from:
AlternateScreenMode
Source
AlternateScreenMode.scala
def application[F <: Effect, A](f: F ?=> A): (F & ApplicationMode[F]) ?=> A

Run the given terminal program f in application mode, which changes the input sent to the program when arrow keys are pressed. See https://invisible-island.net/xterm/xterm.faq.html#xterm_arrows

Run the given terminal program f in application mode, which changes the input sent to the program when arrow keys are pressed. See https://invisible-island.net/xterm/xterm.faq.html#xterm_arrows

Attributes

Inherited from:
ApplicationMode
Source
ApplicationMode.scala
def flush(): Writer ?=> Unit

Flush the current output, causing it to be shown on the console.

Flush the current output, causing it to be shown on the console.

Attributes

Inherited from:
Writer
Source
Writer.scala
def raw[F <: Effect, A](f: F ?=> A): (F & RawMode[F]) ?=> A

Run the given terminal program f in raw mode, which means that the program can read user input a character at a time. In canonical mode, which is the default, user input is only available a line at a time.

Run the given terminal program f in raw mode, which means that the program can read user input a character at a time. In canonical mode, which is the default, user input is only available a line at a time.

Attributes

Inherited from:
RawMode
Source
RawMode.scala
def read(): Reader ?=> Eof | Char

Attributes

Inherited from:
Reader
Source
Reader.scala

Write a string to the console.

Write a string to the console.

Attributes

Inherited from:
Writer
Source
Writer.scala
def write(char: Char): Writer ?=> Unit

Write a character to the console.

Write a character to the console.

Attributes

Inherited from:
Writer
Source
Writer.scala