X-Git-Url: https://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fbackend%2FTSessionInfo.java;h=bc32175398ddc8c77d91a08deb4c7824710baa30;hb=3e0743556d1f31723a11a6019b5c2b018b4b2104;hp=880098d7aa5e07ddb11f18fdc782f4722c70e770;hpb=d79f1f31b1c036712b4e7f0bbfde980f212c3a3a;p=fanfix.git diff --git a/src/jexer/backend/TSessionInfo.java b/src/jexer/backend/TSessionInfo.java index 880098d..bc32175 100644 --- a/src/jexer/backend/TSessionInfo.java +++ b/src/jexer/backend/TSessionInfo.java @@ -115,4 +115,22 @@ public final class TSessionInfo implements SessionInfo { // NOP } + /** + * Public constructor. + */ + public TSessionInfo() { + this(80, 24); + } + + /** + * Public constructor. + * + * @param width the number of columns + * @param height the number of rows + */ + public TSessionInfo(final int width, final int height) { + this.windowWidth = width; + this.windowHeight = height; + } + }