TTerminalWindow working
[fanfix.git] / src / jexer / TWindow.java
index e15092e5c07c29894be0cfa08e182914765689c4..2fc4aa5d578288da8cf9daf18cecee088eacdccf 100644 (file)
@@ -187,6 +187,15 @@ public class TWindow extends TWidget {
     private int restoreWindowX;
     private int restoreWindowY;
 
+    /**
+     * Set the maximum width for this window.
+     *
+     * @param maximumWindowWidth new maximum width
+     */
+    public final void setMaximumWindowWidth(final int maximumWindowWidth) {
+        this.maximumWindowWidth = maximumWindowWidth;
+    }
+
     /**
      * Public constructor.  Window will be located at (0, 0).
      *