telnet socket stubs
[nikiroo-utils.git] / src / jexer / io / ECMA48Terminal.java
index ca42db470f25b67749ae715a1fb1536fa39cddfe..2ebdd36690d67432fa090e3a1d830b48c54edd6c 100644 (file)
@@ -308,9 +308,9 @@ public final class ECMA48Terminal implements Runnable {
         }
         this.input = new InputStreamReader(inputStream, "UTF-8");
 
-        // TODO: include TelnetSocket from NIB and have it implement
-        // SessionInfo
         if (input instanceof SessionInfo) {
+            // This is a TelnetInputStream that exposes window size and
+            // environment variables from the telnet layer.
             sessionInfo = (SessionInfo) input;
         }
         if (sessionInfo == null) {