aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-28 15:25:42 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-28 15:27:42 +0000
commit777863ac3e27464175699921fceb2c1fab163d0e (patch)
treeb4035421a8450c7153a3a3f68a41425cdda51d40 /terminal.h
parentREADME: document keyboard shortcuts related to scrollback searching (diff)
term: add term_reset_view() - make view follow end-of-output again
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 5989788a..18130392 100644
--- a/terminal.h
+++ b/terminal.h
@@ -392,6 +392,8 @@ void term_damage_rows_in_view(struct terminal *term, int start, int end);
void term_damage_all(struct terminal *term);
void term_damage_view(struct terminal *term);
+void term_reset_view(struct terminal *term);
+
void term_damage_scroll(
struct terminal *term, enum damage_type damage_type,
struct scroll_region region, int lines);