Use ConsoleReadLine for script debugger

Instead of Console.ReadLine() so that arrow keys and tab-completion can
be used.
This commit is contained in:
George Fleming 2016-02-01 10:06:51 -08:00 committed by Andrew Schwartzmeyer
parent 03a6a275fe
commit 7e2b25e4d0

View File

@ -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.