mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-28 06:46:38 -04:00
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:
parent
206e9a1050
commit
fc0a1923dc
9 changed files with 42 additions and 15 deletions
|
|
@ -81,5 +81,8 @@ void selection_find_word_boundary_right(
|
|||
struct terminal *term, struct coord *pos, bool spaces_only,
|
||||
bool stop_on_space_to_word_boundary);
|
||||
|
||||
void selection_find_line_boundary_right(
|
||||
struct terminal *term, struct coord *pos);
|
||||
|
||||
struct coord selection_get_start(const struct terminal *term);
|
||||
struct coord selection_get_end(const struct terminal *term);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue