Check for redundant resizes. Keep the alternate screen buffer size the
[vte.git] / src / ring.c
index 05aa1b8..6d5a16c 100644 (file)
@@ -207,6 +207,12 @@ vte_ring_next(VteRing *ring)
        return ring->delta + ring->length;
 }
 
+long
+vte_ring_max(VteRing *ring)
+{
+       return ring->max;
+}
+
 void
 vte_ring_free(VteRing *ring, gboolean free)
 {