Skip to content

Interrupt Ctrl+C to exit gracefully on KeyboardInterrupt - #1103

Open
donnybeelo wants to merge 5 commits into
boltgolt:masterfrom
donnybeelo:patch-1
Open

Interrupt Ctrl+C to exit gracefully on KeyboardInterrupt#1103
donnybeelo wants to merge 5 commits into
boltgolt:masterfrom
donnybeelo:patch-1

Conversation

@donnybeelo

@donnybeelo donnybeelo commented Apr 23, 2026

Copy link
Copy Markdown

Catches SIGINT in the event the user presses Ctrl+C to cancel a sudo request and exits gracefully, rather than outputting the traceback into the terminal.

Copilot AI review requested due to automatic review settings April 23, 2026 15:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a SIGINT (Ctrl+C) handler to make howdy/src/compare.py exit cleanly when interrupted, aiming to avoid abrupt termination during authentication/compare runs.

Changes:

  • Register a SIGINT handler to exit with code 0 on Ctrl+C.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread howdy/src/compare.py Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread howdy/src/compare.py Outdated
Comment thread howdy/src/compare.py Outdated
donnybeelo and others added 2 commits April 23, 2026 17:54
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants