terminal: don't flip window whenever we scroll

This commit is contained in:
K. Lange 2023-10-30 20:44:38 +09:00
parent b19dcfeb3e
commit 9c2d7f7650

View File

@ -1243,14 +1243,10 @@ static void term_shift_region(int top, int height, int how_much) {
/* Scroll the terminal up or down. */
static void term_scroll(int how_much) {
term_shift_region(0, term_height, how_much);
/* Remove image data for image cells that are no longer on screen. */
flush_unused_images();
/* Flip the entire window. */
yutani_flip(yctx, window);
}
static void insert_delete_lines(int how_many) {