Fix telnet new environment option
[fanfix.git] / src / jexer / net / TelnetSocket.java
index c537858c267fb36b6b02eb6678cc3cfbf1c184b2..a1a35f72396aa526943d7c9a2f8381247d0214b9 100644 (file)
@@ -114,7 +114,7 @@ public final class TelnetSocket extends Socket {
      * If true, request the New Environment option to obtain the client
      * LOGNAME, USER, and LANG variables.
      */
-    boolean doEnvironment;
+    boolean doEnvironment = true;
 
     /**
      * The terminal type reported by the client.