Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169415202
D36042.id108879.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
657 B
Referenced Files
None
Subscribers
None
D36042.id108879.diff
View Options
Index: sys/dev/vt/vt_buf.c
===================================================================
--- sys/dev/vt/vt_buf.c
+++ sys/dev/vt/vt_buf.c
@@ -771,7 +771,7 @@
}
void
-vtbuf_extract_marked(struct vt_buf *vb, term_char_t *buf, int sz)
+vtbuf_extract_marked(struct vt_buf *vb, term_char_t *buf, int sz, int mark)
{
int i, j, r, c, cs, ce;
term_pos_t s, e;
@@ -799,7 +799,7 @@
buf[i++] = vb->vb_rows[r][c];
/* For all rows, but the last one. */
- if (r != e.tp_row) {
+ if (r != e.tp_row || mark == VTB_MARK_ROW) {
/* Trim trailing word separators, if any. */
for (; i != j; i--) {
if (!tchar_is_word_separator(buf[i - 1]))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 2, 11:57 AM (21 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37906546
Default Alt Text
D36042.id108879.diff (657 B)
Attached To
Mode
D36042: vt 3 clicks paste
Attached
Detach File
Event Timeline
Log In to Comment