mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
extract: move ‘strip_trailing_empty’ parameter from extra_finish() to extract_begin()
This commit is contained in:
parent
0945e71572
commit
a6d9f01c0d
6 changed files with 32 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue