mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Note that CursorSize throws on Windows when output is redirected
This commit is contained in:
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; }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user