mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Render multi-line command as a single-line command
This commit is contained in:
1 parent
e713af87bb
commit
89839b69e7
1 file changed
+4
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user