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

Move new-lines displayed for the ctrl+c message to default constant #323

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

Electro707
Copy link
Contributor

@Electro707 Electro707 commented Oct 5, 2023

What is the problem that this PR addresses?

This modules, when the user presses CTRL-C, will print a new-line before and after the message "Cancelled by user ". For some applications, these new-lines might not be desirable.

How did you solve it?

Removed the printing of new-lines when the KBI message is printed, and instead moved the new-lines to the default message, un-effecting default operation.

Checklist

  • I have read the Contributor's Guide.
  • I will check that all automated PR checks pass before the PR gets reviewed.

Copy link
Collaborator

@kiancross kiancross left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Can you force-push your commit (you might need to do git commit --amend first) to retrigger the GitHub actions?

@kiancross kiancross changed the title Moved new-lines of ctrl-c messages to the constrant Move new-lines displayed for the ctrl+c message to default constant Dec 29, 2023
@Electro707
Copy link
Contributor Author

I have re-pushed my changes, but I it seems the workflow still needs an approval?

@kiancross kiancross merged commit 10c1764 into tmbo:master Dec 29, 2023
30 checks passed
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