Open nutilius opened 1 year ago
Hello @nutilius 👋
Thank you so much for these reproduce steps 🙏
I will try to find the root cause inside WebSSH or the xterm.js library
Have a nice day ☀️
I've followed your steps but I'm not able to reproduce :
But I see gray background, not black, why? I've observed the effect with pure black background.
When I put red background color it applied as expected.
I think black is default color and as I use gray as my terminal bg color it display as black.
Have you tried to change your terminal BG color to black instead of gray?
I think it is the difference. I have by default black background. My session after connection looks like below:
After running mutt (without any settings in muttrc) I see something like this:
As you see lines are filled with gray background in place where characters were put on the screen. Because in your settings gray is default backgroun (what I always change to black), I suspect, that you leave somewere your "default gray" color, not default color set by user.
The settings for session:
One thing yet - when I change background to f.ex. green, I see the same efect on entries in mutt:
so definitly the gray color is "fixed" in some place.
You're right seems to be fixed but I think it's more related to xterm.js library. I'm checking if I can customise a setting.
I don't have found, yet
I also need to upgrade Xterm.js but I don't know if it will resolve.
I will upgrade Xterm.js to 5.2 due to : https://github.com/xtermjs/xterm.js/issues/4579
A new WebSSH release will come in a few hours.
I hope it will fix this issue due to https://github.com/xtermjs/xterm.js/issues/4579
Hello @nutilius 👋
Could you try to change TERM type to « xterm-color » inside your connection > Terminal Settings ?
Thank you
I've changed to xterm-color and even to xterm - nothing changed. But remember that I still test on last available version - 22.4.1127 - generated 10-07-2023
Thanks for your feedback @nutilius
Could you try WebSSH 23.0 beta available on TestFlight please ?
OK
Feedback sent via TestFlight - unfortunately problem still exists.
What’s the output of :
echo $TERM
For terminal type XTERM-COLOR is (of course) xterm-color (small letters). For terminal type XTERM-256COLOR is xterm-256color (small letters).
Thanks for sharing screenshots on TestFlight feedback'
With "xterm-color" the result is better but still have a non-black color as you said
Bug description
When mutt client has settings like
color normal white black
what means 'display white characters on black background' terminal display white characters on grey background (but only to the end of printed line, the rest is black).I've seen this on Linux and NetBSD.
Screenshots
Steps to reproduce
:
(colon) and in command line typecolor normal white black