Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 12620 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
- Create file.fsx containing the following
System.Console.WriteLine "BEFORE CursorLeft"
let x = System.Console.CursorLeft
System.Console.WriteLine "AFTER CursorLeft"
- Compile ("fsharpc file.fsx")
- Run ("mono file.exe")
- Expected: Two lines of output
- Observed: The screen clears after the first WriteLine.
This is the cause of https://github.com/fsharp/fsharp/issues/140. We're running Mono on Ubuntu, accessing it via an SSH connection from Windows (not sure if that matters).
"stty" reports the following terminal settings, perhaps this is relevant.
speed 38400 baud; line = 0;
erase = ^H;
-echoe -echok -echoctl -echoke
Created attachment 4092 [details]
Can you test this patch?
That didn't fix it - but it did change the problem so that the "clear screen" now occurs earlier. Also, it changed a bunch of Mono tools (mcs and others I think) so that they also cleared the screen.
This line looks likely to be the one causing the "clear"
and this is the place where "noGetPosition" is becoming true:
if that helps