def restoreTerminal(self): if enableEchoMode(): error("Terminal: restore echo mode")
def deinit(self): if enableEchoMode(): self.error("Terminal: restore echo mode to stdin")