diff options
Diffstat (limited to 'extract.h')
| -rw-r--r-- | extract.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); |
