Re: [dev] [st] Tip adds non-existing trailing whitespace upon mouse selection + fix

From: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
Date: Tue, 9 Oct 2012 22:46:04 +0200

On Tue, Oct 9, 2012 at 7:03 PM, Roberto E. Vargas Caballero
<k0ga_AT_shike2.com> wrote:
> Solution of copying all the characters needs some work, because I agree it sucks
> when you copy this non existing leading paces. I think the solution should be a
> variable by line saying maximum column written in it. I think other terminal
> emulators do something like this.
>
> Of course actual solution converts all tabs into spaces, but fix this is
> reallt complex and I think all the emulator take this aproach.

The GLYPH_SET flag can be used to compute the end of the line or we
could add another flag like GLYPH_TAB when appropriate and test it in
the copy function when it loops over the selection.
Received on Tue Oct 09 2012 - 22:46:04 CEST

This archive was generated by hypermail 2.3.0 : Tue Oct 09 2012 - 22:48:04 CEST