-
Notifications
You must be signed in to change notification settings - Fork 315
Closed
Description
From @vors on July 3, 2016 5:16
Steps to reproduce
function prompt
{
"PS $pwd`n Hello`n World>"
}
Type 'foo' with the new prompt
Expected behavior
PS /Users/vors/dev/PowerShell/src
Hello
World>foo
Actual behavior
PS /Users/vors/dev/PowerShell/src
Hello
PS /Usefoo
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.10032.0
PSEdition Linux
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v0.5.0-257-g07501f1d3a02c4e70da8a2693e3d0f833a61cf65
CLRVersion
WSManStackVersion 1.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Copied from original issue: PowerShell/PowerShell#1269