Skip to content

Commit

Permalink
fix scrolling up leaves junks
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Aug 23, 2018
1 parent f60d066 commit d67cec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui_wasm.c
Expand Up @@ -1548,7 +1548,7 @@ gui_mch_insert_lines(int row, int num_lines)
printf("insert_lines: row=%d num_lines=%d left=%d right=%d bottom=%d\n", row, num_lines, left, right, bottom);
#endif
vimwasm_image_scroll(x, sy, dy, w, h);
gui_mch_clear_block(row, left, row + num_lines - 1, bottom);
gui_mch_clear_block(row, left, row + num_lines - 1, right);
}

/*
Expand Down

0 comments on commit d67cec5

Please sign in to comment.