Skip to content

Discuss: Should ED 2 (EraseType::All) push text on the screen into the scrollback? #7894

@skyline75489

Description

@skyline75489

Description of the new feature/enhancement

So I was investigating the "docker stats" flicking issue(#1680) and found something weird. The sequences generated by docker stats first erase-all then print the stats. The way conhost and WT implements this (ITerminalApi::EraseInDisplay), is to push everything on the screen into the scrollback and print new things:

image

Proposed technical implementation details (optional)

I don't know why this is like this but I'm sure there's a reason, and I feel that changing this might fix the flickering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-VTVirtual Terminal sequence supportIssue-QuestionFor questions or discussionProduct-ConhostFor issues in the Console codebase

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions