Skip to content

Exit on Ctrl-c - #105

Open
Luke-Ed wants to merge 3 commits into
itzg:mainfrom
Luke-Ed:abort-on-ctrl-c
Open

Luke-Ed wants to merge 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
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