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

Fix colorized string in prompt #942

Merged
merged 1 commit into from
May 16, 2024
Merged

Fix colorized string in prompt #942

merged 1 commit into from
May 16, 2024

Conversation

Nuru
Copy link
Contributor

@Nuru Nuru commented May 16, 2024

what

  • Fix colorized text added to prompt without delimiters for color codes by aws.sh

why

  • Bash counts the characters in the prompt to manage viewing and editing command history. Non-printing characters must be delimited so they are not counted in the prompt text length.

@Nuru Nuru requested a review from a team as a code owner May 16, 2024 02:08
@github-actions github-actions bot added the shell label May 16, 2024
@Nuru Nuru merged commit abd8e54 into main May 16, 2024
6 checks passed
@Nuru Nuru deleted the color-prompt branch May 16, 2024 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant