Note that CursorSize throws on Windows when output is redirected

This commit is contained in:
Andrew Schwartzmeyer committed 2016-07-01 16:46:44 -07:00
1 parent c5df728176
commit c1168e1a24
1 file changed
+2
@@ -1586,6 +1586,8 @@ namespace Microsoft.PowerShell
/// </summary>
public override int CursorSize
{
// Future porting note: this API throws on Windows when output is
// redirected, but never throws on Unix because it's fake.
get { return Console.CursorSize; }
set { Console.CursorSize = value; }
}