|
@@ -73,7 +73,7 @@ class Sys {
|
|
}
|
|
}
|
|
|
|
|
|
public static function getChar( echo : Bool ) : Int {
|
|
public static function getChar( echo : Bool ) : Int {
|
|
- trace(python.lib.Sys.platform);
|
|
|
|
|
|
+
|
|
var ch = switch (python.lib.Sys.platform) {
|
|
var ch = switch (python.lib.Sys.platform) {
|
|
case x if (StringTools.startsWith(x, "linux") || x =="darwin"):
|
|
case x if (StringTools.startsWith(x, "linux") || x =="darwin"):
|
|
var fd = python.lib.Sys.stdin.fileno();
|
|
var fd = python.lib.Sys.stdin.fileno();
|