summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 25f2892..4fac37c 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -407,6 +407,14 @@ void kmscon_terminal_close(struct kmscon_terminal *term)
term->opened = false;
}
+void kmscon_terminal_redraw(struct kmscon_terminal *term)
+{
+ if (!term)
+ return;
+
+ schedule_redraw(term);
+}
+
int kmscon_terminal_add_display(struct kmscon_terminal *term,
struct uterm_display *disp)
{