cursor

terminus.effect.AnsiCodes.cursor
object cursor

Codes for manipulating the cursor

Attributes

Source
AnsiCodes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
cursor.type

Members list

Type members

Classlikes

object down

Attributes

Source
AnsiCodes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
down.type
object style

Attributes

Source
AnsiCodes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
style.type
object up

Attributes

Source
AnsiCodes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
up.type

Value members

Concrete methods

def backward(n: Int): String

Move the given number of characters to the left.

Move the given number of characters to the left.

Attributes

Source
AnsiCodes.scala
def column(n: Int): String

Move the cursor to the given column. The left-most column is 1, and coordinates increase to the right.

Move the cursor to the given column. The left-most column is 1, and coordinates increase to the right.

Attributes

Source
AnsiCodes.scala
def forward(n: Int): String

Move the given number of characters to the right.

Move the given number of characters to the right.

Attributes

Source
AnsiCodes.scala
def to(x: Int, y: Int): String

Move the cursor to the given position, where (1, 1) is the top left corner and coordinates increase to the right and down.

Move the cursor to the given position, where (1, 1) is the top left corner and coordinates increase to the right and down.

Attributes

Source
AnsiCodes.scala

Concrete fields

Restore the previously saved cursor state, or reset it to default values if no state has been saved.

Restore the previously saved cursor state, or reset it to default values if no state has been saved.

Attributes

Source
AnsiCodes.scala
val save: String

Save the cursor location, character set, pending wrap state, SGR attributes, and origin mode.

Save the cursor location, character set, pending wrap state, SGR attributes, and origin mode.

Attributes

Source
AnsiCodes.scala