You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
393 B

  1. #pragma once
  2. #include <stddef.h>
  3. #include <stdbool.h>
  4. #include "terminal.h"
  5. struct extraction_context;
  6. struct extraction_context *extract_begin(enum selection_kind kind);
  7. bool extract_one(
  8. const struct terminal *term, const struct row *row, const struct cell *cell,
  9. int col, void *context);
  10. bool extract_finish(
  11. struct extraction_context *context, char **text, size_t *len);