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

Support ANSI escape codes (colors) in prompt #388

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

nineinchnick
Copy link
Member

ANSI escape codes are already supported by the readline library used by usql, so only the octal values escaped with % need to be converted to characters.

@kenshaw kenshaw merged commit c04e5c6 into xo:master Jan 4, 2023
kenshaw added a commit to xo/homebrew-xo that referenced this pull request Jan 4, 2023
## What's Changed
* Support ANSI escape codes (colors) in prompt by @nineinchnick in xo/usql#388

**Full Changelog**: xo/usql@v0.13.4...v0.13.5
archlinux-github pushed a commit to archlinux/aur that referenced this pull request Jan 4, 2023
## What's Changed
* Support ANSI escape codes (colors) in prompt by @nineinchnick in xo/usql#388

**Full Changelog**: xo/usql@v0.13.4...v0.13.5
@nineinchnick nineinchnick deleted the prompt-ansi branch January 30, 2023 10:47
This was referenced Jan 30, 2023
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

2 participants