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

Rename reset to default #8114

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Conversation

chtenb
Copy link
Contributor

@chtenb chtenb commented Aug 30, 2023

This PR addresses the comment presented on #8083

  • Use default instead of reset, as this is the conventional name for ANSI codes 39/49. The word reset should be reserved for ANSI code 0, which resets both fg and bg colors at once, while also removing all modifiers. While the code uses the value name Reset, this is misleading and should not leak into the user space.

Use `default` instead of `reset`, as this is the conventional name for ANSI codes 39/49. The word `reset` should be reserved for ANSI code `0`, which resets both fg and bg colors at once, while also removing all modifiers. While the code uses the value name `Reset`, this is misleading and should not leak into the user space.
@archseer archseer merged commit 7fffc0a into helix-editor:master Aug 30, 2023
dgkf pushed a commit to dgkf/helix that referenced this pull request Jan 30, 2024
Use `default` instead of `reset`, as this is the conventional name for ANSI codes 39/49. The word `reset` should be reserved for ANSI code `0`, which resets both fg and bg colors at once, while also removing all modifiers. While the code uses the value name `Reset`, this is misleading and should not leak into the user space.
mtoohey31 pushed a commit to mtoohey31/helix that referenced this pull request Jun 2, 2024
Use `default` instead of `reset`, as this is the conventional name for ANSI codes 39/49. The word `reset` should be reserved for ANSI code `0`, which resets both fg and bg colors at once, while also removing all modifiers. While the code uses the value name `Reset`, this is misleading and should not leak into the user space.
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
Use `default` instead of `reset`, as this is the conventional name for ANSI codes 39/49. The word `reset` should be reserved for ANSI code `0`, which resets both fg and bg colors at once, while also removing all modifiers. While the code uses the value name `Reset`, this is misleading and should not leak into the user space.
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