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

Simple fix for bad background color on last prompt character. #138

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

Conversation

tauchris
Copy link

I fear this repo has been abandoned... and it looks like this issue has been addressed in some previous pull requests (which have not been accepted or closed). But the fix seems simple to me, so I'll risk my time by offering it again...

My fix just involves doing a full reset, and then setting only the foreground color before emitting the last character. I haven't run across any terminal emulators (in any color-enabled modes) where this doesn't work. If I've missed some case(s) where this won't work, please share the specifics.

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.

1 participant