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

Allow user to set special colour for exit code 130 (ctrl-c) #5765

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sciencentistguy
Copy link

@Sciencentistguy Sciencentistguy commented Feb 10, 2024

Description

This change allows the user to set a colour not only for exit code failure and success, but also exit code 130 (ctrl-c). This is set to yellow by default. This also fixes an issue where even the existing red for exit code failure was cleared by entering vim mode

Motivation and Context

I have been using this in a fork for a long time (see the master branch of the source fork of this PR if you really want) and i think others may desire this feature

Screenshots (if appropriate):

image

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux
  • I have tested using Windows

Checklist:

  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@Sciencentistguy Sciencentistguy marked this pull request as draft February 10, 2024 01:41
@Sciencentistguy
Copy link
Author

Sciencentistguy commented Feb 10, 2024

Marking as draft as the tests are not currently passing, and I would like to solicit feedback on the general idea before putting energy into resolving the issues & cleaning up the code

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.

None yet

1 participant