diff options
Diffstat (limited to 'selection.h')
| -rw-r--r-- | selection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/selection.h b/selection.h index a98a0327..8473dbfa 100644 --- a/selection.h +++ b/selection.h @@ -18,3 +18,7 @@ void selection_from_clipboard(struct terminal *term, uint32_t serial); void selection_from_primary(struct terminal *term); bool text_to_clipboard(struct terminal *term, char *text, uint32_t serial); +void text_from_clipboard( + struct terminal *term, uint32_t serial, + void (*cb)(const char *data, size_t size, void *user), + void *user); |
