diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs index 1cbee3a30..77986f8d8 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs @@ -1586,6 +1586,8 @@ namespace Microsoft.PowerShell /// 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; } }