TWindowBackend
[fanfix.git] / src / jexer / backend / ECMA48Backend.java
index db390fb4eb0f37a8b57ad00cad2e58e2a1f8fe6f..3e588f992c209c7f6a0e45a2202cfccbf1dd9a22 100644 (file)
@@ -40,6 +40,18 @@ import java.io.UnsupportedEncodingException;
  */
 public final class ECMA48Backend extends GenericBackend {
 
+    /**
+     * Public constructor will use System.in and System.out and UTF-8
+     * encoding. On non-Windows systems System.in will be put in raw mode;
+     * shutdown() will (blindly!) put System.in in cooked mode.
+     *
+     * @throws UnsupportedEncodingException if an exception is thrown when
+     * creating the InputStreamReader
+     */
+    public ECMA48Backend() throws UnsupportedEncodingException {
+        this(null, null, null);
+    }
+
     /**
      * Public constructor.
      *