Add versioned about box, set title
[fanfix.git] / src / jexer / io / ECMA48Screen.java
index a00a1806e644b31857d58feddf14fdb0a5deffb7..71878e968988fa4e9d11d132b7953c15b6f15829 100644 (file)
@@ -282,4 +282,15 @@ public final class ECMA48Screen extends Screen {
         terminal.getOutput().write(result);
         terminal.flush();
     }
+
+    /**
+     * Set the window title.
+     *
+     * @param title the new title
+     */
+    public void setTitle(final String title) {
+        terminal.getOutput().write(terminal.setTitle(title));
+        terminal.flush();
+    }
+
 }