Commit 2bfd243
authored
fix: replace null characters in copied monitor output (#2832)
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.1 parent 7efda98 commit 2bfd243
File tree
1 file changed
+6
-3
lines changed- arduino-ide-extension/src/browser/serial/monitor
1 file changed
+6
-3
lines changedLines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
0 commit comments