Fixed a small tty handling bug.
This commit is contained in:
+1
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user