Renamed termios type to TerminalMode. Added GetTerminalMode, GetOriginalMode, SetTerminalMode and TerminalSupported.