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
@per1234 per1234 added topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor labels Dec 17, 2025
omartazul pushed a commit to omartazul/arduino-ide-ai-assistant that referenced this pull request Dec 29, 2025
In some OSes implementation of `clipboard.writeText`, null (U+0000) characters are parsed as a string termination symbol, effectively truncating the copied output.
We now replace null characters code with a visual representation (☐) to make string consistent cross platform.
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 topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project

3 participants