I've studied the relevant code and can see how I might improve this.  The
current code disowns the (primary) selection whenever the cursor moves before
the highlighted selection, just in case it might be followed by operations that
might alter the text under the selection.  That's a simple rule of thumb, but
overkill, since it doesn't mean that the selection actually changes.  For
example in the case I observed, the screen is updated in a region that did not
overlap the selection.

If the primary selection is no longer available (because it was disowned),
xterm falls back to cut buffers.  But those are always ISO-8859-1, so some
information is lost (and replaced by '#' characters).

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to