-
Notifications
You must be signed in to change notification settings - Fork 290
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 last character having black background #108
base: master
Are you sure you want to change the base?
Conversation
Have you seen what discovered by @jgerken and commented in #106?
It seems exactly the issue I'm experiencing. I'm a bit confused, now, because although your PR seems to be much much simpler than #106, as it removes a bunch of complication in the readme, it seems not to work with Terminal.app. I don't personally use Terminal.app, but of course I don't want to introduce bugs to those who use it. |
i use iterm2,too, no problem either
i personally don’t care so much for terminal. for me its all broken, colors, icons, also white background by default which looks shit with black text on red background with either red;)
overall i do think that „red“ should be the same red anywhere :-)
… On 7. Oct 2017, at 08:41, Arialdo Martini ***@***.***> wrote:
Have you seen what discovered by @jgerken <https://github.com/jgerken> and commented in #106 <#106>?
He writes
This issue is fixed for most clients using bash version 2.53 and above. The default macOS X Terminal.app is a client for which the fix does not work correctly. Terminal uses the default background color as it should but a brighter red for the foreground color - it simply ignores the setting that the dark red should be used. If your client shows similar problems you have to use one of the workarounds from below.
It seems exactly the issue I'm experiencing.
Still I wasn't able to get a correct prompt, neither with his PR (on Terminal.app. No issues with iTerm2)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#108 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABFUklTet-IMqBmusyqH6S7hKvhFZsGSks5spx0ZgaJpZM4M7AwZ>.
|
That display issue is most definitely a fault of the terminal (or it's The original code didn't work "properly" for ANY terminal, whereas at least @arialdomartini : Are you saying that it works with the buggy terminal if you If it's In the event that it is something like setting the foreground variable etc as
Then the solution for the buggy terminal might be setting If that works, IMHO you're still better off with applying the PR and making the |
Looking at @jgerken 's suggestion in #106 , and reading the ECMA-48 document, You could see if this works (just changed the reset to BG only): |
Addresses #49 by resetting the colours, then setting the foreground again.