New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Console.MoveBufferArea() on Linux & Mac #23073
Comments
Do you know how to implement it on Linux and Mac. I know quite a few such |
Ok, thanks for pointing this out. I just noticed that |
@nilslueders would you like to investigate what it might take to implement? |
One (the only?) way for something similar is tracking the own output to an internal buffer and use this buffer as source. But this might not the expected behaviour as its limited to the own output. |
The Console Buffer functions are unsupported on Unix because we couldn't come up with a good way of implementing them. We'd certainly be open to suggestions/proposals, though I am not aware of any Unix functions that would get the behavior close enough to Windows to justify their addition under the same API. |
So netcoreapp2.1 for Unix/Mac does not support the netstandard spec? That seems unexpected... Isn't the purpose of saying "Platform x implements the netstandard2.0 spec" supposed to provide some level of confidence that I can take a program uses a netstandard2.0 library and run it on that platform? It seems like we're no better off here than with Mono and that .NET is still just for Windows. What would be a "similar" approach that the netcoreapp2.1 platform for OS X does support? I'd prefer to not have to dive through the platform specific source code to find out the situations where .NET Core is not multi-platform. |
We did not know how to implement it in 2017 and there was no proposal|suggestion since then so I am just closing it. If somebody has a good idea for how we can implement that, please feel free to reopen the issue. |
Is there a plan to support Console.MoveBufferArea() on Linux & Mac? Currently it throws a PlatformNotSupportedException on these platforms.
Without this feature it seems to me not possible to write in the bottom right corner of the console without losing the first line of the buffer (due to the resulting jump to the next line of the cursor), which is not very useful for text user interfaces.
The text was updated successfully, but these errors were encountered: