X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fio%2FScreen.java;h=e3f72191809b73565397c98c8b8523c800b9f8be;hb=92554d64c21c6a477fd23a06ca3a64a542b622a3;hp=81dabd246a8f607a4c87994c70a65880482eda0a;hpb=a83fea2bae838f4b9bbf59ce3832e0e67be41378;p=fanfix.git diff --git a/src/jexer/io/Screen.java b/src/jexer/io/Screen.java index 81dabd2..e3f7219 100644 --- a/src/jexer/io/Screen.java +++ b/src/jexer/io/Screen.java @@ -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().