aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-07-18 14:15:18 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-07-18 14:15:18 +0000
commita577496f8f8ee55099bc47a58fc7c94d354d6602 (patch)
tree5daa9d66676181d886cf4e9adcca61fe21c66a7a /terminal.h
parentMerge branch 'refactor-shm-buffer-management' (diff)
parentchangelog: crash when \E[3J was executed with a selection in the scrollback (diff)
Merge branch 'crash-when-selection-is-in-scrollback-and-scrollback-is-erased'
Closes #633
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index b02036a2..d699d644 100644
--- a/terminal.h
+++ b/terminal.h
@@ -662,6 +662,7 @@ void term_damage_scroll(
void term_erase(
struct terminal *term, const struct coord *start, const struct coord *end);
+void term_erase_scrollback(struct terminal *term);
int term_row_rel_to_abs(const struct terminal *term, int row);
void term_cursor_home(struct terminal *term);