aboutsummaryrefslogtreecommitdiff
path: root/extract.h
diff options
context:
space:
mode:
Diffstat (limited to 'extract.h')
-rw-r--r--extract.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/extract.h b/extract.h
index 0b3693d2..dc802bc5 100644
--- a/extract.h
+++ b/extract.h
@@ -2,12 +2,14 @@
#include <stddef.h>
#include <stdbool.h>
+#include <wchar.h>
#include "terminal.h"
struct extraction_context;
-struct extraction_context *extract_begin(enum selection_kind kind);
+struct extraction_context *extract_begin(
+ enum selection_kind kind, bool strip_trailing_empty);
bool extract_one(
const struct terminal *term, const struct row *row, const struct cell *cell,
@@ -15,3 +17,5 @@ bool extract_one(
bool extract_finish(
struct extraction_context *context, char **text, size_t *len);
+bool extract_finish_wide(
+ struct extraction_context *context, wchar_t **text, size_t *len);