Page MenuHomeFreeBSD

vt 3 clicks paste
ClosedPublic

Authored by tezeka_hotmail.com on Aug 4 2022, 1:58 PM.
Tags
None
Referenced Files
F169416614: D36042.id108882.diff
Tue, Sep 1, 12:02 PM
F169415202: D36042.id108879.diff
Tue, Sep 1, 11:57 AM
F169315017: D36042.id108879.diff
Tue, Sep 1, 4:37 AM
Unknown Object (File)
Mon, Aug 31, 9:45 AM
Unknown Object (File)
Mon, Aug 31, 4:49 AM
Unknown Object (File)
Mon, Aug 31, 1:15 AM
Unknown Object (File)
Sun, Aug 30, 11:22 PM
Unknown Object (File)
Sun, Aug 30, 7:39 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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

Looks good. I'll get this upstream and tested, possibly with some minor modifications.

This revision is now accepted and ready to land.Oct 5 2022, 8:56 AM