parser=argparse.ArgumentParser(description='Push eye animations to the robot') left_input = input('Enter Left Eye Animation IDX (or press Enter to skip): ') right ...
unwind to the outer prompt_toolkit loop and kill the entire session. The fix wraps `self.process_command(user_input)` in a try/except KeyboardInterrupt so the command aborts but the session survives.