Skip to content

Conversation

@giacomocusinato
Copy link
Collaborator

Motivation

Resolves #2827

Change description

In some OSes implementation of clipboard.writeText, null (U+0000) characters are parsed as string termination symbol, effectively truncating the copied output.
We now replace null characters code with a visual representation (☐) to make string consistent cross platform.

Other information

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

In OSes implementation of `clipboard.writeText`,  null (`\u0000`) characters are parsed as string termination symbol, effectively truncating the copied output
@giacomocusinato giacomocusinato added os: windows Specific to Windows operating system type: imperfection Perceived defect in any part of project labels Dec 17, 2025
@giacomocusinato giacomocusinato merged commit 2bfd243 into main Dec 17, 2025
44 of 55 checks passed
@giacomocusinato giacomocusinato deleted the #2827 branch December 17, 2025 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

os: windows Specific to Windows operating system type: imperfection Perceived defect in any part of project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Serial Monitor content after null character not copied by "Copy Output" feature

2 participants