Render multi-line command as a single-line command

This commit is contained in:
George Fleming
2016-03-23 14:11:04 -07:00
parent e713af87bb
commit 89839b69e7
@@ -771,6 +771,10 @@ namespace Microsoft.PowerShell.Linux.Host
string text = this.buffer.ToString();
// TODO: Rendering of a multiline command on separate lines.
// For now, just display it as a single-line command.
text = text.Replace(System.Environment.NewLine, " ");
// The PowerShell tokenizer is used to decide how to colorize
// the input. Any errors in the input are returned in 'errors',
// but we won't be looking at those here.