Finalizes the terminal.
Applications should call this method before screen resolution changes.
Definition at line 411 of file terminal.cpp.