Home Contents | # trm:update | Graphics | Core4 Lua Commands

## SYNOPSIS

1. trm:update()
2. trm:redraw()

## DESCRIPTION

The function trm:update() will cause any changes to the internal text buffers to appear on the display or pixmap. Usually, this happens automatically as data is written using trm:write(), unless automatic updates have been disabled.

The function trm:redraw() unconditionally redraws the complete terminal. This is a costly operation and should only be done as necessary.

## ERRORS

Raises an error if trm is not a terminal emulator handle.

## SEE ALSO

gcx:terminal, trm:close, trm:write, trm:colors