public run() as Int
Runs the interactive event loop and restores the terminal on exit.
Exit code supplied to exit, or zero on normal completion.
exit
terminal = Terminal() terminal.run()