Page MenuHomeFreeBSD

vt 3 clicks paste
Needs ReviewPublic

Authored by tezeka_hotmail.com on Thu, Aug 4, 1:58 PM.

Details

Reviewers
hselasky

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

tezeka_hotmail.com created this revision.

we have two changes in this patch.

first one is regarding the 3 clicks paste.
vtbuf_extract_marked() gains a new arg
int mark

the second change is not much of a change because i had to mess up the
case VT_MOUSE_EXTENDBUTTON:

this change is regarding the highlight mark that doesnt disappear from the screen after you paste it. the highlight mark stays forever
below solves the problem

ive replaced
mark = VTB_MARK_EXTEND;
with
mark = VTB_MARK_START

Please remove all comments, //'s you've added containing old code.

revoved the //'s old code comented as Hans requested