diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs index dbfe6b3df..e90f13209 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostRawUserInterface.cs @@ -1805,14 +1805,11 @@ namespace Microsoft.PowerShell //if x is exceeding buffer width, reset to the next line if (origin.X >= BufferSize.Width) { - origin.X = 1; + origin.X = 0; } //write the character from contents Console.Out.Write(charitem.Character); - - //advance the character one position - origin.X++; } //reset the cursor to the original position