Skip to content

Task echo text not showing with conpty #74063

Closed

Description

@alexr00

Example of how a task runs and shows echo text. The first line is the echo text:

> Executing task: echo %FOO% <

%FOO%

Terminal will be reused by tasks, press any key to close it.

When conpty is enabled, this is what shows:

%FOO%

Terminal will be reused by tasks, press any key to close it.

You can't scroll up and see the echo text. It isn't there. It does seem to flicker in and out of existence for a moment. though.

Task for reproducing:

		{
			"label": "TESTING",
			"type": "shell",
			"command": "echo %FOO%",
			"problemMatcher": [],
		}

Activity

  1. added
    terminal
    terminal-conpty
    on May 21, 2019
  2. Tyriar commented on May 21, 2019

    @Tyriar
    Contributor

    There's no way around this on our side unfortunately as conpty aggressively reprints the entire screen.

  3. Tyriar commented on May 21, 2019

    @Tyriar
    Contributor
  4. added
    upstream
    on May 21, 2019
  5. alexr00 commented on May 22, 2019

    @alexr00
    MemberAuthor

    I that case, I'll add back in the setting for winpty in tasks.

  6. Tyriar commented on May 22, 2019

    @Tyriar
    Contributor

    Alex Ross (@alexr00) if I can get node-pty updated (hoping to this week) I'll be able to make this change pretty easily.

  7. Tyriar commented on May 22, 2019

    @Tyriar
    Contributor
  8. Tyriar commented on May 22, 2019

    @Tyriar
    Contributor

    Fixed in #73597, verified it locally

  9. added
    verified
    on May 27, 2019
  10. locked and limited conversation to collaborators on Jul 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

terminalterminal-conptyupstreamverified

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions