summaryrefslogtreecommitdiff
path: root/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/screen.c b/screen.c
index b769641..9a0ccb3 100644
--- a/screen.c
+++ b/screen.c
@@ -462,7 +462,9 @@ void crop_to_nonblank(){
#ifdef DEBUG
fprintf(stderr, "crop rectangle: (%d, %d)-(%d, %d)\n", x1, y1, x2, y2);
#endif
+ copy_lines_to_ring(0, y2, PRV_STATE);
crop_to_rect(x1, y1, x2, y2);
+ copy_lines_to_ring(0, y2, NEW_STATE);
modified=1;
redraw();
}