fix(cli): indent every row of the pairing QR code on Windows (#53265)

This commit is contained in:
Luke Parker
2026-10-05 13:02:36 +10:00
committed by GitHub
Unverified
parent 2db9c2e1b3
commit c542a43503
+2 -1
View File
@@ -30,8 +30,9 @@ export default Runtime.handler(
...(links[0]
? [
"",
// uqr separates rows with "\n" on every platform, so splitting on EOL ("\r\n" on Windows) indents only the first row.
renderUnicodeCompact(links[0], { border: 2 })
.split(EOL)
.split("\n")
.map((line) => " " + line)
.join(EOL),
]