Method

TermboxTerminalinvalidate

Declaration

gboolean
tbg_terminal_invalidate (
  TbgTerminal* self
  GError** error
)

Description

Clear termbox’s internal front buffer so the next present forces a complete re-render of the back buffer.

This is not needed during normal drawing, but can be useful after changing output modes.

Return value

Type: gboolean

TRUE on success, or FALSE with error set.