title: How to read cursor visibility in C# console application on Linux?
body: <p>I am writing a C# console application which is running on Linux with .Net5, and I need to read the visibility state of the cursor.</p>
  <p><code>Console.CursorVisible</code> property is throwing a <code>PlatformNotSupportedException</code> on Linux.</p>
  <p>Note: I was able to change the visibility of the cursor (hide and show) using the <code>tput</code> command as explained here: <a href="https://stackoverflow.com/questions/38251164/how-to-hide-the-cursor-in-a-c-sharp-console-application-on-linux">How to hide the cursor in a C# console application on Linux?</a> , but I did not find a command to read the state.</p>