Skip to content

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

@NSPC911

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

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