def __exit__()

in src/nova_act/util/terminal_manager.py [0:0]


    def __exit__(self, exc_type, exc_val, exc_tb):
        if not self.is_interactive:
            return

        if sys.platform != "win32":
            try:
                termios.tcsetattr(self.fd, termios.TCSAFLUSH, self.old_term)
            except termios.error:
                pass  # Ignore errors when restoring terminal settings