Home Reference Source Repository

Variable

Static Public Summary
public

COLORS: *

Dictionary of colors to use in methods like <span><a href="class/src/Cursor.js~Cursor.html#instance-method-background">Cursor.background</a></span>, <span><a href="class/src/Cursor.js~Cursor.html#instance-method-foreground">Cursor.foreground</a></span>, etc...

public

Dictionary of regions to use in <span><a href="class/src/Cursor.js~Cursor.html#instance-method-erase">Cursor.erase</a></span>.

Static Public

public COLORS: * source

import {COLORS} from '@kittikjs/cursor/src/colors.js'

Dictionary of colors to use in methods like <span><a href="class/src/Cursor.js~Cursor.html#instance-method-background">Cursor.background</a></span>, <span><a href="class/src/Cursor.js~Cursor.html#instance-method-foreground">Cursor.foreground</a></span>, etc...

Properties:

NameTypeAttributeDescription
COLORS.RED String

Red color

COLORS.YELLOW String

Yellow color

COLORS.GREEN String

Green color

COLORS.BLUE String

Blue color

COLORS.CYAN String

Cyan color

COLORS.MAGENTA String

Magenta color

COLORS.BLACK String

Black color

COLORS.WHITE String

White color

See:

public ERASE_REGIONS: * source

import {ERASE_REGIONS} from '@kittikjs/cursor/src/eraseRegions.js'

Dictionary of regions to use in <span><a href="class/src/Cursor.js~Cursor.html#instance-method-erase">Cursor.erase</a></span>.

Properties:

NameTypeAttributeDescription
ERASE_REGIONS.FROM_CURSOR_TO_END String

Erase the region from cursor to the end of line

ERASE_REGIONS.FROM_CURSOR_TO_START String

Erase the region from cursor to the start of line

ERASE_REGIONS.FROM_CURSOR_TO_DOWN String

Erase the region from cursor to the down of TTY

ERASE_REGIONS.FROM_CURSOR_TO_UP String

Erase the region from cursor to the up of TTY

ERASE_REGIONS.CURRENT_LINE String

Erase the current line

ERASE_REGIONS.ENTIRE_SCREEN String

Erase the entire screen

See: