diff --git a/src/Microsoft.PowerShell.Linux.Host/main.cs b/src/Microsoft.PowerShell.Linux.Host/main.cs index 7eb811223d..a1258734e4 100644 --- a/src/Microsoft.PowerShell.Linux.Host/main.cs +++ b/src/Microsoft.PowerShell.Linux.Host/main.cs @@ -524,7 +524,7 @@ OPTIONS while (resumeAction == null) { Console.Write("[DBG] PS >> "); - string command = Console.ReadLine(); + string command = consoleReadLine.Read(this.myHost.Runspace); Console.WriteLine(); // Stream output from command processing to console.