diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-17 16:20:12 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-17 16:20:12 +0000 |
| commit | 3da8dc123f998113109e80912588fff0a9fbef92 (patch) | |
| tree | a1614644f672834da37177777583d5639ee2861b /extract.h | |
| parent | Merge branch 'box-drawing-use-pixman' (diff) | |
| parent | changelog: ctrl+w can now be used across lines (diff) | |
Merge branch 'search-refactor-extend-word'
Closes #421
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); |
