Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2022 14:12:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 261553] vt newcons: double click does not mark whole word if word starts at beginning of line
Message-ID:  <bug-261553-227-KBM6mZB4IF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261553-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261553-227-KBM6mZB4IF>