aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-17 07:34:51 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-17 07:34:51 +0000
commitac42ce43032fc2bbabc2c1b132942d3933fe9f49 (patch)
tree3013a8a2d262d86a15c54b53ff48d6de9fb0499f /terminal.h
parentwayland: don't assume data-device globals are added before seats (diff)
parentMerge branch 'master' into pipe-grid-to-external-tool (diff)
Merge branch 'pipe-grid-to-external-tool'
Closes https://codeberg.org/dnkl/foot/issues/29
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index c88bad2f..85f89abf 100644
--- a/terminal.h
+++ b/terminal.h
@@ -540,3 +540,8 @@ void term_disable_app_sync_updates(struct terminal *term);
enum term_surface term_surface_kind(
const struct terminal *term, const struct wl_surface *surface);
+
+bool term_scrollback_to_text(
+ const struct terminal *term, char **text, size_t *len);
+bool term_view_to_text(
+ const struct terminal *term, char **text, size_t *len);