Better resizing under ptypipe
[fanfix.git] / src / jexer / tterminal / DisplayListener.java
index fcd8854797f344720bf09117f666a325795a7453..7a47921ddad2e2f365330e3e0f38da08cfe3d501 100644 (file)
@@ -39,4 +39,18 @@ public interface DisplayListener {
      */
     public void displayChanged();
 
+    /**
+     * Function to call to obtain the display width.
+     *
+     * @return the number of columns in the display
+     */
+    public int getDisplayWidth();
+
+    /**
+     * Function to call to obtain the display height.
+     *
+     * @return the number of rows in the display
+     */
+    public int getDisplayHeight();
+
 }