Method

TermboxTerminalget_width

Declaration

int
tbg_terminal_get_width (
  TbgTerminal* self
)

Description

Return the width of the internal back buffer.

The internal back buffer has the same size as the terminal window. It can be resized after tbg_terminal_clear(), tbg_terminal_present(), or a resize event.

Gets propertyTermbox.Terminal:width

Return value

Type: int

The width in cells.