Skip to content

Cursor Tools

⬅ Parent


cursorGet

Get the current cursor position

Usage

cursorGet

Get the current cursor position Output is

Writes to standard output

UnsignedInteger

Arguments

  • none

Examples

IFS=$'\n' read -r -d '' saveX saveY < <(cursorGet)

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error

cursorSet

Move the cursor to x y

Usage

cursorSet x y

Move the cursor to x y

Arguments

  • x - Required. UnsignedInteger. Column to place the cursor.
  • y - Required. UnsignedInteger. Row to place the cursor.

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error

plasterLines

Outputs a line and fills the remainder with space

Usage

plasterLines

Outputs a line and fills the remainder with space

Arguments

  • none

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error

bigTextAt

Experimental

Usage

bigTextAt

Experimental Place bigText at a position on the console

Arguments

  • none

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error