Fixed a small tty handling bug.

This commit is contained in:
Warren Toomey
2016-03-08 06:48:06 +10:00
parent a7f040b8f5
commit 77ba9809e7
+1 -1
View File
@@ -944,7 +944,7 @@ sub sys_read {
} }
$Mem[$addr] = $word; $Mem[$addr] = $word;
$count++; $count++;
last if ($tty && ($c1 eq "\n") || ($c2 eq "\n")); last if ($tty && (($c1 && ($c1 eq "\n")) || ($c2 &&($c2 eq "\n"))));
} # ascii } # ascii
} }