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

Windows CMD and PowerShell non-black background color #63

Closed
AE9RB opened this issue Mar 13, 2020 · 2 comments · Fixed by murarth/mortal#16
Closed

Windows CMD and PowerShell non-black background color #63

AE9RB opened this issue Mar 13, 2020 · 2 comments · Fixed by murarth/mortal#16

Comments

@AE9RB
Copy link

AE9RB commented Mar 13, 2020

Use a standard Windows 10 install, launch PowerShell. The background will be blue unless you changed it. Run the example/demo program. Type a backspace. The line will turn black. You can also use CMD but will have to change the background color to something other than black in the preferences.

The new Windows Terminal and the terminal in my editor work correctly. WSL also works even though it uses conhost.exe like CMD and PowerShell.

@murarth
Copy link
Owner

murarth commented Mar 13, 2020

The root cause of this bug is in the mortal crate, which linefeed uses for low-level cross-platform terminal functions (and which is also authored by me).

I've submitted a PR on that project that I believe would solve this issue. Can you test it and confirm? murarth/mortal#16

@AE9RB
Copy link
Author

AE9RB commented Mar 14, 2020

Works! Thank you.

@AE9RB AE9RB closed this as completed Mar 14, 2020
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 a pull request may close this issue.

2 participants