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:
parent
a7f040b8f5
commit
77ba9809e7
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user