aboutsummaryrefslogtreecommitdiff
path: root/extract.h
diff options
context:
space:
mode:
Diffstat (limited to 'extract.h')
-rw-r--r--extract.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/extract.h b/extract.h
index 879461cf..dc802bc5 100644
--- a/extract.h
+++ b/extract.h
@@ -8,15 +8,14 @@
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,
int col, void *context);
bool extract_finish(
- struct extraction_context *context, bool strip_trailing_empty,
- char **text, size_t *len);
+ struct extraction_context *context, char **text, size_t *len);
bool extract_finish_wide(
- struct extraction_context *context, bool strip_trailing_empty,
- wchar_t **text, size_t *len);
+ struct extraction_context *context, wchar_t **text, size_t *len);