Skip to content

Some text not displayed when the screen scrolls #6566

@j4james

Description

@j4james

Environment

Windows build number: Version 10.0.18362.778
Windows Terminal version (if applicable): 1.0.1401.0

Steps to reproduce

  1. Open a bash shell in Windows Terminal.
  2. Press Enter a few times until you've scrolled off the page.
  3. Execute the command printf "\e[2AHello\n\n\n"

Expected behavior

I'd expect to see "Hello" output on the line above the prompt I started from.

image

Actual behavior

The "Hello" is not displayed.

image

If you resize the WT window, the text will suddenly appear, so it seems that the conhost buffer does at least know it's there (and it works in a standalone conhost shell).

My guess would be that it isn't invalidating the right area, so that part of the buffer isn't being refreshed over the conpty pipe. It only seems to happen when the newlines are making the window scroll, so that may have something to do with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-RenderingText rendering, emoji, complex glyph & font-fallback issuesIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsPriority-2A description (P2)Product-ConptyFor console issues specifically related to conptyResolution-No-ReproWe couldn't get this to happen, or it stopped happening entirely.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions