Skip to content

Clipboard access doesn't work in vscode -> terminal (WSL) -> screen/tmux #4191

Done

Description

@tomasheranms

Describe the bug

When running the Copilot CLI from withing a tmux/screen in WSL2 in a terminal in VS Code, copying text to the clipboard doesn't work. When running the the CLI in the WSL2 terminal in VS Code (i.e. not in tmux/screen), copying does work well.

Affected version

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

Windows 11, VS Code 1.126.0, WSL2 (Ubuntu 24.04), built-in VS Code terminal, bash, tmux 3.4, screen 4.09.01.

Activity

  1. added theissue type on Jul 20, 2026
  2. added
    area:terminal-rendering
    and removed on Jul 21, 2026
  3. mmport80 commented on Jul 27, 2026

    @mmport80

    I see this too.

    I am using Ghostty -> tmux -> github cli.

    It used to work. I think one of the recent updates broke it.

  4. tomasheranms commented on Jul 27, 2026

    @tomasheranms
    Author
  5. mmport80 commented on Sep 2, 2026

    @mmport80

    just manually tested with manually sending text to the clipboard:

    printf '\033]52;c;%s\a' "$(printf 'osc52-manual-test' | base64 | tr -d '\n')"

    which of course works.

    unfortunately 1.0.82 still doesn't work..

  6. copilot-cli-bot commented on Nov 24, 2026

    @copilot-cli-bot

    This appears to be resolved as of GitHub Copilot CLI v1.0.114. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.

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

    area:terminal-rendering

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions