Skip to content

Exit on Ctrl-c - #105

Merged
itzg merged 3 commits into
itzg:mainfrom
Luke-Ed:abort-on-ctrl-c
Nov 27, 2026
Merged

itzg merged 3 commits into
itzg:mainfrom
Luke-Ed:abort-on-ctrl-c

Conversation

@Luke-Ed

@Luke-Ed Luke-Ed commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Attempts to address #82, I believe I introduced this regression with MR 69.

@Luke-Ed

Luke-Ed commented Nov 14, 2026

Copy link
Copy Markdown
Contributor Author

I think there may be a more graceful way I'd like to handle this, but this was a quick first pass. I need to do a testing round, I didn't have any local servers up to run a validation pass.

@itzg

itzg commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Thanks. Can you also verify against the changes in PR #104.

@itzg itzg left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

It looks good so far.

@Luke-Ed

Luke-Ed commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

Took a bit of time to get around to testing, but got up to date with main and tested today, output included below.

Old Behavior

./rcon-cli --host <omitted> --password <omitted> --abort-on-ctrl-c=false
> li^C
> li^C
> ^C
> ⏎

New Behavior (Default)

./rcon-cli --host <omitted> --password <omitted> --abort-on-ctrl-c=true
> li^C

@Luke-Ed
Luke-Ed marked this pull request as ready for review November 19, 2026 22:33
@Luke-Ed Luke-Ed changed the title Draft: Exit on Ctrl-c Exit on Ctrl-c Nov 19, 2026
@itzg itzg linked an issue Nov 27, 2026 that may be closed by this pull request

@itzg itzg left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks

@itzg itzg added enhancement release/minor On merge, creates a new release with a minor version bump. labels Nov 27, 2026
@itzg
itzg merged commit 2744fd6 into itzg:main Nov 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement release/minor On merge, creates a new release with a minor version bump.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not responding to Ctrl+C termination on Linux

2 participants