> 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.
Instead of adding GLYPH_TAB we could use directly \t in c and then we don't have to test anything in selcopy, but of couse we should check it in drawregion. But this solution doesn't fix this problem when you use a sequence to locate the cursor in some place of the screen.