clean up threads and timers
[fanfix.git] / src / jexer / io / Screen.java
index 81dabd246a8f607a4c87994c70a65880482eda0a..e3f72191809b73565397c98c8b8523c800b9f8be 100644 (file)
@@ -185,6 +185,16 @@ public abstract class Screen {
      */
     protected boolean dirty;
 
+    /**
+     * Get dirty flag.
+     *
+     * @return if true, the logical screen is not in sync with the physical
+     * screen
+     */
+    public final boolean isDirty() {
+        return dirty;
+    }
+
     /**
      * Set if the user explicitly wants to redraw everything starting with a
      * ECMATerminal.clearAll().