aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-12 18:20:26 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-12 18:20:26 +0000
commitd75e50230eb91b87bf6880177bd9fe32ab964140 (patch)
treec0ad7e70f744f80bb7023da957d1ba141ae859f5 /selection.h
parentMerge branch 'releases/1.5' into master (diff)
parentselection: auto-scroll: call cmd_scrollback_{up,down}() with number of rows (diff)
Merge branch 'scroll-up-down-while-selecting' into master
Closes #149
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 547da2fc..888b2f05 100644
--- a/selection.h
+++ b/selection.h
@@ -74,3 +74,8 @@ void text_from_primary(
struct seat *seat, struct terminal *term,
void (*cb)(const char *data, size_t size, void *user),
void (*dont)(void *user), void *user);
+
+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);