Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Custom prompt with newline on macOS gets corrupted on entry #2770

Copy link
Copy link
@eamodio

Description

@eamodio
Issue body actions

Steps to reproduce

  1. Have a custom prompt with a new line:
~/foo
> |
  1. All looks fine, but as soon as you start to type, the > will start being replaced by the line above (assuming you typed q):
~/foo
~/q

Expected behavior

~/foo
> q

Actual behavior

~/foo
~/q

Environment data

macOS Sierra 10.12.1 (16B2555)

> $PSVersionTable
Name                           Value                                               
----                           -----                                               
PSVersion                      6.0.0-alpha                                         
PSEdition                      Core                                                
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                             
BuildVersion                   3.0.0.0                                             
GitCommitId                    v6.0.0-alpha.13                                     
CLRVersion                                                                         
WSManStackVersion              3.0                                                 
PSRemotingProtocolVersion      2.3                                                 
SerializationVersion           1.1.0.1   
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.