aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-04-26 15:40:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-04-26 15:40:58 +0000
commit57543c4290f3380a8d49e9256afd9fa6ef67a638 (patch)
tree59c57accdb2a26b9c9cc799f21c19308e01f5b71 /selection.h
parentinput: assert serial received from compositor is non-zero (diff)
parentchangelog: search mode not always highlighting all matches correctly (diff)
Merge branch 'search-crashes'
Closes #1036
Diffstat (limited to 'selection.h')
-rw-r--r--selection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/selection.h b/selection.h
index 295d8d1c..0a6ece91 100644
--- a/selection.h
+++ b/selection.h
@@ -79,3 +79,6 @@ 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 coord selection_get_start(const struct terminal *term);
+struct coord selection_get_end(const struct terminal *term);