On Fri, Aug 06, 2010 at 05:26:22PM -0700, Michael Elkins wrote: > On Fri, Aug 06, 2010 at 05:44:11PM -0500, Will Fiveash wrote: > >I've noticed that when I do a X mouse copy of text that mutt displays > >in a gnome-terminal that there is whitespace padding out to edge of the > >terminal. If I run the less pager command in a gnome-terminal I don't > >see this whitespace pad/fill behavior. Is there a way I can configure > >mutt or my gnome-terminal to disable this whitespace fill behavior? > > Hopefully Thomas Dickey will correct me if I'm wrong, but I'm pretty > sure this has to do with the use of bkgdset() so that clrtoeol() > will set the proper background color all the way to the end of the > line. > > Consider the case where you have a different default background > terminal color than what the user has specified in 'color body ...'. > Without the use of bkgdset(), you'd see the wrong color at the end > of each line.
The thing is, my mutt background is black as is my gnome-terminal background. And as I said, a pager like less isn't using whitespace fill which makes X copy/paste more convenient. Would it be reasonable to add a config option to mutt so it just uses the hosting terminal background? > xterm has the 'trimSelection' option for this purpose, but > gnome-terminal doesn't seem to support it. > > me -- Will Fiveash
