On Sun, Aug 08, 2010 at 07:32:20AM +0200, ubitux wrote:
Try with a terminal multiplexer such as screen, you should expect the issue. Also, your #undef HAVE_BKGDSET seems to solve it just fine for me :)
When using screen, I do see this behavior in both xterm and gnome-terminal.
Is there a reason for not getting this by default?
If you don't use bkgdset(), any time there is a non-default background color used and the text does not reach the right column, the space from the end of the text to the right column will be the background color rather than the color the user requested.
About that problem, the FAQ tells to use the screen's bce option, but that does not work really well…
I put this in my ~/.screenrc:
defbce on
term screen-bce
and then the problem went away under both xterm and gnome-terminal.
What wasn't working when you tried it?
me
pgpSBfJE8qI3i.pgp
Description: PGP signature
