Skip to content

[PowerShell] Certain special characters have still not been escaped #8166

Closed

Description

@NSPC911

Description

Asked Copilot for a powershell related question it gave me a response with the $ sign for variables

$output = New-TemporaryFile

but the copied string is

 = New-TemporaryFile

Plugins

Nil

OpenCode version

1.1.15

Steps to reproduce

  1. Ask any LLM to reply with only $file = New-TemporaryFile
  2. Copy it

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Wezterm

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 13, 2026
  2. github-actions commented on Jan 13, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    These issues all relate to character handling and clipboard copying issues, which may be symptoms of the same underlying problem with special character escaping or clipboard functionality. Feel free to ignore if none of these address your specific case.

  3. assigned and unassigned on Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions