Class SelCurses

Generate Curses based textual interface.

Methods

SelCurses:CharAttrConst (name) Find out numeric value of a character attribute
SelCurses:CursorVisibilityConst (name) Find out numeric value of a cursor visiblity
SelCurses:Key (name) Find out numeric value of a key
SelCurses:endwin () Terminate Curses session
SelCurses:init () Initialisation functions of Curses engine
SelCurses:beep () Generate a screen bip
SelCurses:flash () Make the screen flashing
SelCurses:curs_set (visibility) set the cursor mode
SelCurses:echo (echo) control whether characters typed by the user are echoed
SelCurses:noecho () Turn off echoing.
SelCurses:raw (raw) Turn ON or OFF terminal raw mode
SelCurses:noraw () Turn off terminal raw mode.
SelCurses:cbreak (cbreak) Turn ON or OFF terminal cbreak mode
SelCurses:nocbreak () Turn off terminal cbreak mode.


Methods

SelCurses:CharAttrConst (name)
Find out numeric value of a character attribute

Parameters:

  • name string Attribute name in CAPITAL

Returns:

    number numeric value
SelCurses:CursorVisibilityConst (name)
Find out numeric value of a cursor visiblity

Parameters:

Returns:

    number numeric value
SelCurses:Key (name)
Find out numeric value of a key

Parameters:

Returns:

    number numeric value
SelCurses:endwin ()
Terminate Curses session
SelCurses:init ()
Initialisation functions of Curses engine

Returns:

    SelCWindow
SelCurses:beep ()
Generate a screen bip
SelCurses:flash ()
Make the screen flashing
SelCurses:curs_set (visibility)
set the cursor mode

Parameters:

  • visibility number

See also:

SelCurses:echo (echo)
control whether characters typed by the user are echoed

Parameters:

  • echo boolean
SelCurses:noecho ()
Turn off echoing.

Compatibility with C curses library, alias to echo(false)

SelCurses:raw (raw)
Turn ON or OFF terminal raw mode

Parameters:

  • raw boolean
SelCurses:noraw ()
Turn off terminal raw mode.

Compatibility with C curses library, alias to raw(false)

SelCurses:cbreak (cbreak)
Turn ON or OFF terminal cbreak mode

Parameters:

  • cbreak boolean
SelCurses:nocbreak ()
Turn off terminal cbreak mode.

Compatibility with C curses library, alias to cbreak(false)

generated by LDoc 1.4.6 Last updated 2022-09-05 22:24:50