Method

TermboxTerminalget_input_mode

Declaration

TbgInputMode
tbg_terminal_get_input_mode (
  TbgTerminal* self
  GError** error
)

Description

Return the current input mode.

The default termbox input mode is TBG_INPUT_MODE_ESC.

Return value

Type: TbgInputMode

The current input mode, or TBG_INPUT_MODE_CURRENT on error.