Skip to content

Conversation

@NSPC911
Copy link
Contributor

@NSPC911 NSPC911 commented Jan 13, 2026

continuation of #7157, hopefully this should be the last one

resolves #8166 hopefully

What does this PR do?

use powershell's auto-escape ability by wrapping strings in single inverted comma ' instead of double inverted comma "

How did you verify your code works?

like just copy it

Before:

 = (Invoke-Expression "Write-Host 'Hello'")

After:

$output = (Invoke-Expression "Write-Host 'Hello'")

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, here are the related PRs to PR #8150:

Related/Potentially Related PRs:

  1. test: cover powershell clipboard escaping #7177 - test: cover powershell clipboard escaping

  2. fix(clipboard): add OSC 52 fallback for SSH/tmux environments #7028 - fix(clipboard): add OSC 52 fallback for SSH/tmux environments

These aren't duplicates of PR #8150, but they are closely related PRs in the same clipboard/powershell feature area. PR #8150 appears to be a continuation of issue #7157 as noted in the description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PowerShell] Certain special characters have still not been escaped

1 participant