diff --git a/src/vte.c b/src/vte.c
index d4a5946..b6a94f1 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -1886,6 +1886,12 @@ _vte_terminal_adjust_adjustments_full (VteTerminal *terminal)
 		changed = TRUE;
 	}
 
+        if (terminal->pvt->screen == &terminal->pvt->alternate_screen) {
+                gtk_adjustment_set_upper(
+                                terminal->pvt->vadjustment,
+                                gtk_adjustment_get_lower(terminal->pvt->vadjustment) + terminal->pvt->row_count);
+        }
+
 	g_object_thaw_notify(G_OBJECT(terminal->pvt->vadjustment));
 
 	if (changed)
