High level function for writing full-screen applications
Type of a user interface.
size ui
returns the current size of the terminal used by the
given user-interface. It is updated by wait.
cursor_visible ui
returns true
if the cursor is displayed in
the UI. It is initially not visible.
set_cursor_visible ui visible
sets the cursor visible
state.
cursor_position ui
returns the position of the cursor inside
the UI.
set_cursor_position ui coord
sets the position of the cursor
inside the UI.