diff --git a/dart/bin/pause.dart b/dart/bin/pause.dart index 0e7ee79..4ce38c7 100644 --- a/dart/bin/pause.dart +++ b/dart/bin/pause.dart @@ -6,14 +6,14 @@ String getKeyPress() { String str = ""; while (!ret) { // Disable line mode to capture a single key press without requiring Enter - stdin.echoMode = false; + //stdin.echoMode = false; stdin.lineMode = false; // Read a single byte from stdin int byte = stdin.readByteSync(); // Restore line mode and echo mode to default settings - stdin.echoMode = true; + //stdin.echoMode = true; stdin.lineMode = true; // Return the character representation of the byte