aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
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);