Skip to content

Are you open to contributions around capturing style / color info? #2

@bishopmatthew

Description

@bishopmatthew

Hi! Thanks for building termscope. I found it when I was looking for names before building something very similar, so clearly great minds think alike. I’ve been testing it against Bubble Tea / Charm TUIs, and the PTY/session side already feels really useful for agent and CI workflows.

I wanted to ask if you’d be open to contributions around more faithful styled output. Right now SVG output seems to render plain text with a default foreground color, even though the render-state cell data appears to have fg/bg colors and style attrs available.

Would you be open to a few small PRs roughly like:

  1. Add machine-readable style runs to JSON snapshots.
  2. Make SVG preserve cell colors/styles instead of using plain text.
  3. Make HTML captures standalone/color-correct.

I’m also interested in PNG output eventually, but that seems like a bigger discussion because of font rendering and dependency choices. My instinct would be to start with color-correct structured/SVG/HTML output first.

Does that direction fit the project?

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