aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-04-27 18:03:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-04-27 18:03:53 +0000
commitcd513e1761cffac91e714d691dc70826c82061f3 (patch)
tree702efe355d2ac75ad89e7c3d41ada13dfbd492c8 /selection.h
parentchangelog: pgo helper binary build fix (missing key-binding stubs) (diff)
parentchangelog: changed behavior of “extend-to-word-boundary” (diff)
Merge branch 'master' into releases/1.12
Diffstat (limited to 'selection.h')
-rw-r--r--selection.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/selection.h b/selection.h
index 295d8d1c..3d0c224e 100644
--- a/selection.h
+++ b/selection.h
@@ -78,4 +78,8 @@ void selection_stop_scroll_timer(struct terminal *term);
void selection_find_word_boundary_left(
struct terminal *term, struct coord *pos, bool spaces_only);
void selection_find_word_boundary_right(
- struct terminal *term, struct coord *pos, bool spaces_only);
+ struct terminal *term, struct coord *pos, bool spaces_only,
+ bool stop_on_space_to_word_boundary);
+
+struct coord selection_get_start(const struct terminal *term);
+struct coord selection_get_end(const struct terminal *term);