opnsense-src/sys/dev/vt
Ed Maste f6a7ce86fc vt: fix double-click word selection for first/last 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.  Similarly, when double-clicking on the last word
on a line we would select from the beginning of the word to the cursor
position rather than the end of the line.

This is because we searched backward or forward for a space character to
mark the beginning or end of a word.  Now, use the beginning or end of
the line if we do not find a space.

PR:		261553
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 692bb3f029)
(cherry picked from commit 521dbfd6b1)
2022-02-25 11:22:27 -05:00
..
colors Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
font Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
hw Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
logo Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
vt.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
vt_buf.c vt: fix double-click word selection for first/last word on line 2022-02-25 11:22:27 -05:00
vt_consolectl.c Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
vt_core.c Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
vt_cpulogos.c vt: fix splash_cpu logos use of vd_drawrect 2022-02-15 19:39:34 -05:00
vt_font.c Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
vt_sysmouse.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00