Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #925: Exiting by Ctrl-D throws EOFError #1456

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

erhhung
Copy link
Contributor

@erhhung erhhung commented Sep 13, 2024

Describe the changes you have made:

Catch both KeyboardInterrupt (Ctrl-C) and EOFError (Ctrl-D) exceptions on prompt input to exit gracefully.

Reference any relevant issues (e.g. "Fixes #000"):

Fixes #925

Pre-Submission Checklist (optional but appreciated):

  • I have included relevant documentation updates (stored in /docs)
  • I have read docs/CONTRIBUTING.md
  • I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • Tested on Windows
  • Tested on MacOS
  • Tested on Linux

@KillianLucas KillianLucas changed the base branch from main to development September 26, 2024 07:08
@KillianLucas KillianLucas merged commit 547b180 into OpenInterpreter:development Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quitting an interpreter session with CTRL-D causes an ugly traceback
2 participants