diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs index 58630f5b3..3181d77d0 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs @@ -1617,13 +1617,11 @@ namespace Microsoft.PowerShell } } -#if UNIX // Make sure that the physical cursor position matches where we think it is. // This is a problem on *nix, because input that the user types is echoed // and that moves the cursor. As a consequence, the cursor needs to be repositioned // before we update the screen. CursorPosition = origin; -#endif // iterate through the buffer to set foreach (var charitem in contents)