1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-01-25 03:37:23 +00:00

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

View File

@ -944,7 +944,7 @@ sub sys_read {
}
$Mem[$addr] = $word;
$count++;
last if ($tty && ($c1 eq "\n") || ($c2 eq "\n"));
last if ($tty && (($c1 && ($c1 eq "\n")) || ($c2 &&($c2 eq "\n"))));
} # ascii
}