[Bug 261553] vt newcons: double click does not mark whole word if word starts at beginning of line
Date: Tue, 22 Feb 2022 14:12:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261553 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=692bb3f0291b21337eb9a778f71a5b97a47e4c11 commit 692bb3f0291b21337eb9a778f71a5b97a47e4c11 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-02-21 04:09:36 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-02-22 14:08:50 +0000 vt: fix double-click word selection for first word on line Previously when double-clicking on the first word on a line we would select from the cursor position to the end of the word, not from the beginning of the line. This is because we searched backward for a space to mark the beginning of a word. Now, use the beginning of the line if we do not find a space. PR: 261553 Reported by: Stefan B. MFC after: 1 week Sponsored by: The FreeBSD Foundation sys/dev/vt/vt_buf.c | 3 +++ 1 file changed, 3 insertions(+) -- You are receiving this mail because: You are the assignee for the bug.