:termbox2_nif (Raxol v2.0.1)
View SourceTermbox2 NIF for Elixir - A terminal UI library.
Summary
Functions
Clear the terminal.
Get the height of the terminal.
Hide the cursor. Returns 0 on success, -1 on error.
Initialize the termbox2 library. Returns 0 on success, -1 on error.
Present the changes to the terminal.
Print a string at the specified position. Returns 0 on success, -1 on error.
Set a cell in the terminal. Returns 0 on success, -1 on error.
Set the cursor position.
Set the input mode. Returns the previous mode.
Set the output mode. Returns the previous mode.
Set the terminal window position. Returns {:ok, "set"} on success, {:error, reason} on failure.
Set the terminal title. Returns {:ok, "set"} on success, {:error, reason} on failure.
Shutdown the termbox2 library.
Get the width of the terminal.
Functions
Clear the terminal.
Get the height of the terminal.
Hide the cursor. Returns 0 on success, -1 on error.
Initialize the termbox2 library. Returns 0 on success, -1 on error.
Present the changes to the terminal.
Print a string at the specified position. Returns 0 on success, -1 on error.
Set a cell in the terminal. Returns 0 on success, -1 on error.
Set the cursor position.
Set the input mode. Returns the previous mode.
Set the output mode. Returns the previous mode.
Set the terminal window position. Returns {:ok, "set"} on success, {:error, reason} on failure.
Set the terminal title. Returns {:ok, "set"} on success, {:error, reason} on failure.
Shutdown the termbox2 library.
Get the width of the terminal.