aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-17 16:20:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-17 16:20:12 +0000
commit3da8dc123f998113109e80912588fff0a9fbef92 (patch)
treea1614644f672834da37177777583d5639ee2861b /selection.h
parentMerge branch 'box-drawing-use-pixman' (diff)
parentchangelog: ctrl+w can now be used across lines (diff)
Merge branch 'search-refactor-extend-word'
Closes #421
Diffstat (limited to 'selection.h')
-rw-r--r--selection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/selection.h b/selection.h
index 241ec262..295d8d1c 100644
--- a/selection.h
+++ b/selection.h
@@ -74,3 +74,8 @@ void selection_start_scroll_timer(
struct terminal *term, int interval_ns,
enum selection_scroll_direction direction, int col);
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);