Skip to content

extra line after submitting command in VS Code terminal #1042

Closed
@msftrncs

Description

@msftrncs

Environment data

PS version: 7.0.0-preview.3
PSReadline version: 2.0.0-beta4
os: 10.0.18975.1000 (WinBuild.160101.0800)
PS file version: 7.0.0.0
BufferWidth: 174
BufferHeight: 25

This is actually a build of PSReadLine using PR #979

Steps to reproduce

Using PowerShell in VS Code's terminal (currently 1.38.1 Stable and Nightly) enter commands until the buffer (screen) is full. At that time, every command entered seems to receive a blank line immediately after the last line of the command, before the results or next prompt appears. This can be demonstrated with a blank command entry.

image

This does not happen with the normal Windows console, nor does this happen if I switch to CMD in a PowerShell session, inside VS Code's terminal.

image

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