Skip to content

Copy with Control Sequences #15703

Closed
@fflaten

Description

@fflaten

Description of the new feature/enhancement

Option to copy text from the terminal with ANSI sequences. Useful when you need to copy styled output to another file like a markdown codefence with ansi-support (ex. expressive-code/expressive-code#29)

See similar option in iTerm2: Edit > Copy with Control Sequences

Proposed technical implementation details (optional)

A new "Copy with Control Sequences" command that includes escape sequences in the copied text. Either include original ANSI-sequences if possible or recreate (best-effort) like iTerm2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-InteractionInteracting with the vintage console window (as opposed to driving via API or hooks)In-PRThis issue has a related PRIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions