Skip to content

Selectable plain-text element with copy, used by command output #69

Closed

Description

@rynfar

Follow-up of TR-CMDOUT (#64): command output can't be selected or copied, because only the markdown viewer (gpui-component TextView) is selectable today.

Build a reusable selectable plain-text element in apps/native/crates/app that keeps styled spans (ANSI colors), supports drag selection, double-click word, Cmd+A within the element, Cmd+C and a right-click Copy. Use it for command output first (crates/app/src/transcript/command_output.rs), built so transcript rows can adopt it later.

Web parity: apps/web/src/components/chat/CommandOutputPanel.tsx relies on native DOM selection; there is no copy button.

Ledger: TR-CMDOUT stays partial until the command line is highlighted (ShellCommandBlock).

Activity

  1. added this to the M2 Parity core milestone on Nov 2, 2026
  2. added
    parity
    native:feature
    status:in-progress
    status:review
    and removed
    status:in-progress
    on Nov 2, 2026
  3. rynfar commented on Nov 2, 2026

    @rynfar
    OwnerAuthor

    Merged in #72 (838860bbd6). TR-CMDOUT stays partial on #64 (command line highlighting).

  4. removed
    status:review
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    native:featureparity

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions