Skip to content

Improve TTY handling / redraws #412

@titpetric

Description

@titpetric

What I'm trying to do:

I am running an app that redraws the screen, particularly it does this:

fmt.Printf("\033[%dA\033[J", d.lastLineCount)

It does this to rerender the tree view based on events like task completion.

My expectation:

The complete output of the command is recorded. Based on what was rendered, the screenshot should match what is displayed in the terminal.

Actual results:

The termshot tool seems to capture only the first draw/render. It interrupts execution of the command.

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