8000 GitHub · Where software is built
[go: up one dir, main page]

Skip to content
Multi-line prompt incorrectly displayes the last line with PSReadLine #470
@lzybkr

Description

@lzybkr

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0