aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-31 15:02:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-31 15:04:30 +0000
commit639a61abd86c7db3e47f2cd70fc16b7d6c6afaf4 (patch)
tree8693442620f98a0ba8e67dac03868cae62e86435 /selection.h
parentinstall: tllist is a *build* dependency, not a *runtime* dependency (diff)
config: add 'pipe-selected' key binding
This works just like pipe-visible and pipe-scrollback, but pipes the user-selected text, if any, to the external tool. Closes #51
Diffstat (limited to 'selection.h')
-rw-r--r--selection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/selection.h b/selection.h
index bd995855..639c36e9 100644
--- a/selection.h
+++ b/selection.h
@@ -30,6 +30,7 @@ void selection_mark_word(
void selection_mark_row(
struct seat *seat, struct terminal *term, int row, uint32_t serial);
+char *selection_to_text(const struct terminal *term);
void selection_to_clipboard(
struct seat *seat, struct terminal *term, uint32_t serial);
void selection_from_clipboard(