From 639a61abd86c7db3e47f2cd70fc16b7d6c6afaf4 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 31 Jul 2020 17:02:53 +0200 Subject: 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 --- selection.h | 1 + 1 file changed, 1 insertion(+) (limited to 'selection.h') 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( -- cgit v1.3