[Mono-bugs] [Bug 81159][Nor] Changed - Console.In.Read doesn't allow line-oriented input with mscorlib 2.0
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Apr 18 12:33:11 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=81159
--- shadow/81159 2007-04-18 12:01:40.000000000 -0400
+++ shadow/81159.tmp.22737 2007-04-18 12:33:11.000000000 -0400
@@ -76,6 +76,16 @@
those that you wrote before the enter
<shana> it always needs the enter
<shana> let me test one more thing
<shana> if you do read twice, and on the first time you enter more
than 16 characters, on the second read it will read the extra
characters plus the enter
+
+------- Additional Comments From gert.driesen at pandora.be 2007-04-18 12:33 -------
+Here's a small repro for this issue. If you follow the instructions,
+you get a 'Success!' message on MS.
+
+On Mono 1.0, the second read will immediately consume the 10
+remaining characters (and the enter key).
+
+On Mono 2.0, the first read will finish after having read 16
+characters.
More information about the mono-bugs
mailing list