>> > I still don't really understand why this was ever in the code, as >> > the main code knows about the spaces, but for some reason they are >> > deemed to be stripped off (for no apparent reason) when mouse >> > highlight copying. >> >> Some curses programs fill the line with trailing spaces to erase text. >> In that case it's quite useful to strip the trailing spaces, so I >> quite like it as it is! > > OK, I can understand that, but what has that to do with selecting text > with mouse selection? If you select the text from a curses program, > then there will be no trailing spaces to be stripped off anyway under > that logic?
I think it makes sense in some way. If the curses programs (don't exactly know what they are, but I have an idea) fill up the spaces of the commandline until the end of the terminal then after every line that is not as wide as the terminal has loads of spaces at the end. Imagine an 80 character wide terminal and you type ls and select that line (assuming a 0 character prompt) and have no space stripping, then you have 78 spaces in your selection buffer. I can imagine that that is also annoying :) Anyway, thanks a lot for your help guys! Looking forward to the SVN version. Cheers, Eduard ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net