Skip to content

[feature request] add a mechanism to get a fixed number of rows as formatted content #12

@ethanpailes

Description

@ethanpailes

Currently, you can very easily get the contents of the current screen to re-draw with the contents_formatted method, but I'm working on a tool where I would like to be able to render the current screen plus some extra scrollback contents. I tried doing this by re-sizing the screen, but it didn't seem to work as I had hoped. I found that by patching the vt100 crate to have a new method to render formatted contents with a different selector for the rows, I could get the results that I want.

I've posted the patch to my fork and am using it in my tool. Is this something you'd be willing to upstream?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions