Open mattfg opened 5 years ago
Pls upgrade to 2.9.0
Also @mattfg if issue persists with 2.9.0, Please update your ticket with the information requested in https://raw.githubusercontent.com/platformio/platformio-atom-ide-terminal/master/.github/ISSUE_TEMPLATE.md
On the last are under notes paste your platformio-ide-terminal color configuration and atoms as well.
Persists with 2.9.0
I've updated the post with as much of the information you asked for as I knew how to collect. I didn't know how to default my settings, and I would rather avoid that unless there's a way to get them back later, but I did at least disable all other packages.
I don't know what you mean by "paste my atoms".
I don't know what you mean by "paste my atoms".
=) idk where you got "paste my atoms" from, but I meant paste Atoms configuration just in case some portion may be helpful (keeping any private info out (if any exists).
As for resetting Atom, follow https://flight-manual.atom.io/hacking-atom/sections/debugging/#reset-to-factory-defaults You can first make a backup which you can restore after, should you need/want to, that is the recommended procedure by Atom and we wouldnt ask you to nuke everything without a backup. =).
Then reinstall platformio-ide-terminal 2.9.0 via apm in a terminal.
I can actually confirm this issue however, I suspect its term.js a current dependency of the project which is no longer maintained/abandoned for last 4/5 years. We could switch to xterm,js as https://github.com/platformio/platformio-atom-ide-terminal/issues/426 details, but the API has changed and implementation requires a semi experienced js coder willing to work on this.
@ivankravets Ive confirmed this issue, could you have a look please?
Description
Running the following commands in Windows terminal produces this output:
Running the same commands in platformio produces a different output:
I've tried with many different color combinations, it only seems to be wrong when background color is white. Foreground white is fine, background any-other-color is fine, it's just background white.
One weird thing is that when background is white AND foreground is black, then both foreground AND background are wrong (foreground becomes white). For other colors, only the background=white is wrong. You can see that in the first command, it's not black-on-black it's white-on-black instead of white-on-red.
In case it makes a difference, my color settings are:
Ansi Normal: 128
Ansi Normal White: 192
Ansi Z Bright: 255
Ansi Z Bright Black: 128
Ansi Z Bright Blue: 64,64,192
Steps to reproduce
powershell
Expected behavior: The first line of text is black on white. The second line of text is red on white.
Actual behavior: The first line of text is white on black. The second line of text is red on black.
Reproduces how often: 100%
Versions
OS name and version: Windows 10 Pro 1803 Platformio-ide-terminal version: 2.9.0
Additional Information
config.cson.platformio-ide-terminal: