mirror of
https://github.com/livingcomputermuseum/pdp7-unix.git
synced 2026-02-10 10:20:38 +00:00
Fixed a small tty handling bug.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user