-
Notifications
You must be signed in to change notification settings - Fork 281
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
readline change color on PowerShell #112
Comments
I have the same problem. I found an issues that seems related: elm/compiler#1334. |
It's a bug - the code is ignoring the current background colour settings. Here's a first draft patch. I don't use PowerShell, but I use black-on-white in the command prompt and so I was getting a bit annoyed by this. (Command line node.js programs are terrible for doing this too, for some reason.) I fixed another bug (I think?) in the I'm going to try to turn this into a PR - but this is my first time with go, and so far it's feeling like there's a very good chance I might just give up in frustration before finishing. So I thought I'd post this patch just in case that happens :) --Tom
|
@tom-seddon -- what's going on with your patch? Seems like some kind of fix is needed, but (while I'm comfortable with Go now) I don't know readline stuff well enough to say whether your patch is good. Still, let me know if you need help with this. |
I haven't done any more on this - I was using Go as part of some client work, and haven't used it since. And at some point the project's Go components dropped Windows suppport, so I didn't have any need for a patched version any more. I don't remember finding any issues with my patched version while I was using it though. Thanks, --Tom |
I just submitted a PR for this as #161 , the changes by @tom-seddon appear to work! |
Thanks for awesome library.
I use
readline-demo
on Windows PowerShell.How can I keep the background color?
The text was updated successfully, but these errors were encountered: