rkd77 / elinks

Fork of elinks
Other
339 stars 35 forks source link

White patch after text ends disregarding background color #193

Closed mayureshw closed 1 week ago

mayureshw commented 1 year ago

I upgraded from 0.13.2 to 0.15.1

After upgrade I see a patch of default background after the text ends. See screen shot below.

http://mayuresh.sdfeu.org/bgissue.jpg

rkd77 commented 1 year ago

You can workaround it a bit with settings: ui.colors.color.desktop.text ui.colors.color.desktop.background ui.background_char

0-issue commented 1 year ago

@rkd77 It would be great to have background/foreground accept "default" or "terminal" as a value to mean that elinks will use default terminal background/foreground colors. A lot of color themes have unique background/foreground colors. One can theoretically use a hex value, but that wouldn't work well with dynamic theme changer of modern terminals.

mayureshw commented 1 week ago

After a recent upgrade to 0.17 this issue has occurred again for me. It was working when I was using 0.16.

rkd77 commented 1 week ago

@mayureshw, please provide two screenshots. Good and bad, because I don't get it from descriptions.

mayureshw commented 1 week ago

In the first post on this thread, there is a link to the bad screenshot. I currently don't have a setup to produce a good screenshot. A good one would just show blue background color (as appearing in the upper part of the bad screenshot) throughout the page.

rkd77 commented 1 week ago

@mayureshw white background color means "end of document" here. You can change these 3 settings: set ui.colors.color.desktop.text = "blue" set ui.colors.color.desktop.background = "midnightblue" set ui.background_char = 9617 # default 32 (space)

It is not fixable in other way I'm afraid.

mayureshw commented 1 week ago

Setting it to "black" in fact solved the problem! Instead of appearing black, it acted as transparent and gave a uniform blue that I was getting prior to this upgrade.