* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
+
+import jexer.bits.*;
import jexer.TApplication;
+import jexer.session.TTYSessionInfo;
/**
* The demo application itself.
*/
class DemoApplication extends TApplication {
+ /**
+ * Public constructor
+ */
+ public DemoApplication() {
+ try {
+ ColorTheme theme = new ColorTheme();
+ TTYSessionInfo tty = new TTYSessionInfo();
+ System.out.println("width: " + tty.getWindowWidth());
+ System.out.println("height: " + tty.getWindowHeight());
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
}
/**