aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/screen.c2
-rw-r--r--src/window-xlib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c
index 95c51a4..24fff8e 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -84,8 +84,6 @@ void runes_screen_process_string(RunesTerm *t, char *buf, size_t len)
}
runes_parser_yy_delete_buffer(state, scanner);
runes_parser_yylex_destroy(scanner);
-
- runes_display_draw_screen(t);
}
void runes_screen_audible_bell(RunesTerm *t)
diff --git a/src/window-xlib.c b/src/window-xlib.c
index 7324690..59b2849 100644
--- a/src/window-xlib.c
+++ b/src/window-xlib.c
@@ -476,6 +476,8 @@ static void runes_window_backend_flush(RunesTerm *t)
return;
}
+ runes_display_draw_screen(t);
+
cairo_set_source_surface(w->backend_cr, cairo_get_target(t->cr), 0.0, 0.0);
cairo_paint(w->backend_cr);
runes_display_draw_cursor(t, w->backend_cr);