[Bug 261553] vt: double click does not mark whole word if word starts at beginning of line
Date: Wed, 23 Feb 2022 15:57:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261553
--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=521dbfd6b1085511769c419d44f11842e92067f5
commit 521dbfd6b1085511769c419d44f11842e92067f5
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-02-21 04:09:36 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-02-23 15:53:24 +0000
vt: fix double-click word selection for last word on line
Previously when double-clicking on the last word on a line we would
select from the beginning of the word to the cursor position, because
we searched forward for a space character to find the end of a word.
Now, use the end of the line if we do not find a space.
PR: 261553
Reviewed by: markj
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34339
sys/dev/vt/vt_buf.c | 4 ++++
1 file changed, 4 insertions(+)
--
You are receiving this mail because:
You are the assignee for the bug.