Skip to content

[Bug]: macOS Control-click replaces a multiline terminal selection before Add to chat #43071

Done

Description

@stevenlw-porpoise

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Open a thread with the integrated terminal visible.
  2. Run ls to produce several lines of output.
  3. Drag to highlight multiple lines of terminal output.
  4. Hold Control and click within the highlighted output to open the context menu on macOS.
  5. Choose Add to chat.

Expected behavior

Control-click preserves the highlighted range. Add to chat attaches all selected lines to the composer.

Actual behavior

The multiline highlight disappears when the context menu opens. Add to chat remains available, but attaches a single-line excerpt instead of the selected range.

In the attached recording, the composer receives Terminal 1 line 1. The terminal attachment submitted with the recording contains only the character l, despite the preceding multiline selection. This happens in the normal composer, without editing a queued message or answering an agent question.

Impact

Minor bug or occasional failure

Version or commit

0.1.12

Environment

macOS 27.2.1

Logs or stack traces

Screenshots, recordings, or supporting files

Screen.Recording.2026-11-25.at.12.01.00.PM.mov

Workaround

Using a two finger trackpad press works.

Activity

  1. added
    bug
    needs-triage
    on Nov 25, 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

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions