Skip to content

Command line does not render properly after executing git commands with PSReadline 2.0 #582

@gwojan

Description

@gwojan

PSReadline doesn't render ANSI escape sequences properly resulting in a unusable commnand line experience after executing git commands or the git bash shell.

image

Environment data

PS version: 5.1.15063.674
PSReadline version: 2.0
os: 10.0.15063.0 (WinBuild.160101.0800)
PS file version: 10.0.15063.0 (WinBuild.160101.0800)

Steps to reproduce or exception report

  • Open PowerShell with PSReadline 2.0
  • Navigate to directory under git version control
  • Execute a git command, ie git log -1
  • Begin to type anything else...

This behavior appears if you invoke git bash or any other Cygwin based shell from within PowerShell. Once returned to the parent shell raw escape sequences are rendered on the command line as you type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions