cursor

terminus.effect.Cursor.cursor
object cursor

Attributes

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

Members list

Value members

Concrete methods

def column(x: Int): Unit

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

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

Attributes

Source
Cursor.scala
def down(lines: Int): Unit

Move the cursor down the given number of rows. Defaults to 1 row.

Move the cursor down the given number of rows. Defaults to 1 row.

Attributes

Source
Cursor.scala
def move(x: Int, y: Int): Unit

Move the cursor position relative to the current position. Coordinates are given in characters / cells.

Move the cursor position relative to the current position. Coordinates are given in characters / cells.

Attributes

Source
Cursor.scala
def to(x: Int, y: Int): Unit

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

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

Attributes

Source
Cursor.scala
def up(lines: Int): Unit

Move the cursor up the given number of rows. The column of the cursor remains unchanged. Defaults to 1 row.

Move the cursor up the given number of rows. The column of the cursor remains unchanged. Defaults to 1 row.

Attributes

Source
Cursor.scala