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

feat: exit CLI when user terminates process with CTRL-C while a pterm select is shown #3503

Merged
merged 2 commits into from
Jan 8, 2024

Conversation

mathnogueira
Copy link
Contributor

@mathnogueira mathnogueira commented Jan 8, 2024

This PR makes CTRL-C work when the agent is running. It doesn't open a new browser, just exits the process.

Context: pterm/pterm#591 (comment)

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Loom video

Add your loom video here if your work can be visualized

Copy link
Contributor

@schoren schoren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@mathnogueira mathnogueira merged commit 6779759 into main Jan 8, 2024
37 checks passed
@mathnogueira mathnogueira deleted the feat/exit-on-ctrl-c branch January 8, 2024 20:13
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.

3 participants