Initialize the terminal.
Applications should call this method before any other method call or after resolution has been set.