[Bug 262090] vt newcons ignores the user-selected marking mode when moving mouse/extending mark

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 23 Feb 2022 20:07:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262090

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
Based on xterm's behaviour, with VTB_MARK_MOVE the originally selected word or
line remains selected as the cursor moves before/after the selection.

In VTB_MARK_EXTEND the selection is extended if the cursor is outside of the
selection. If inside the selection text is unselected from the closer end. For
example, consider this example, with the words in [] currently selected:

  one [two three four five six seven eight] nine ten

VTB_MARK_EXTEND on the word "four" would result in

  one two three [four five six seven eight] nine ten

while VTB_MARK_EXTEND on "seven" would result in

  one [two three four five six seven] eight nine ten

In contrast to VTB_MARK_MOVE the originally selected word or line will not
necessarily remain selected.

-- 
You are receiving this mail because:
You are the assignee for the bug.