SYNOPSIS
trm:close()
DESCRIPTION
Releases all resources held by this terminal emulator.
ERRORS
Raises an error if trm is not a terminal emulator handle.
Attempts to call any functions on trm after trm:close has been called will raise an error.