1
0
Fork 0
toolkit/packages/exec/__tests__/scripts/stdoutputspecial.js

6 lines
232 B
JavaScript
Raw Normal View History

//first half of © character
process.stdout.write(Buffer.from([0xC2]), (err) => {
//write in the callback so that the second byte is sent separately
process.stdout.write(Buffer.from([0xA9])) //second half of © character
})