Add new key-binding: "extend-to-end-line"

This new key-binding is similar to "extend-to-word-boundary" and
"extend-to-next-whitespace", it applies in "scrollback search" mode
and extends current selection to the end of the line.

This commit also removes the parameter "bool spaces_only" from
selection_find_line_boundary_right and selection_find_line_boundary_left
since it is not used inside the functions
This commit is contained in:
lbia.xyz 2022-06-24 17:40:33 +02:00
parent 206e9a1050
commit fc0a1923dc
No known key found for this signature in database
GPG key ID: 6774C7B38E986DF1
9 changed files with 42 additions and 15 deletions

View file

@ -231,6 +231,10 @@ default) available; see *foot.ini*(5).
Same as *ctrl*+*w*, except that the only word separating
characters are whitespace characters.
*ctrl*+*l*
Extend current selection (and thus the search criteria) to the end
of the line.
*ctrl*+*v*, *ctrl*+*shift*+*v*, *ctrl*+*y*, *XF86Paste*
Paste from clipboard into the search buffer.