Skip to content

Commit aba9db6

Browse files
author
Alberto Iannaccone
authored
Correctly print backslash-escaped characters (#943)
1 parent e5b3462 commit aba9db6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

arduino-ide-extension/src/browser/serial/monitor/serial-monitor-send-output.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,10 @@ const _Row = ({
115115
return (
116116
(data.lines[index].lineLen && (
117117
<div style={style}>
118-
{timestamp}
119-
{data.lines[index].message}
118+
<pre>
119+
{timestamp}
120+
{data.lines[index].message}
121+
</pre>
120122
</div>
121123
)) ||
122124
null

0 commit comments

Comments
 (0)