aboutsummaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/commands.c b/commands.c
index 77fc27e9..6df5ab9b 100644
--- a/commands.c
+++ b/commands.c
@@ -62,8 +62,7 @@ cmd_scrollback_up(struct terminal *term, int rows)
term->grid->view = new_view;
term_damage_view(term);
- if (term->frame_callback == NULL)
- grid_render(term);
+ render_refresh(term);
}
void
@@ -122,6 +121,5 @@ cmd_scrollback_down(struct terminal *term, int rows)
term->grid->view = new_view;
term_damage_view(term);
- if (term->frame_callback == NULL)
- grid_render(term);
+ render_refresh(term);
}