Skip to content

Clear scrollback buffer when clearing screen on Windows #428

@makew0rld

Description

@makew0rld

Downstream issue: makew0rld/amfora#183

From some quick browsing of the tcell repo, it appears like clearing the screen on Windows is just done by writing some spaces? Unfortunately this is causing issues as the link describes, where a user can just scroll up and see the old screen.

The user suggests using an ANSI code, I'm not sure how portable that is on Windows. But it would seemingly solve this issue.

It's possible this is actually an issue with cview and not tcell. If you have any insight that would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions