Timeout time back to normal, as it was like this for debugging
This commit is contained in:
1 parent
e356b02b96
commit
99cb09b248
1 file changed
+2
-2
@@ -1,8 +1,8 @@
|
||||
//first half of © character
|
||||
process.stdout.write(Buffer.from([0xC2]), () => {
|
||||
process.stdout.write(Buffer.from([0xC2]), (err) => {
|
||||
//write in the callback so that the second byte is sent separately
|
||||
setTimeout(() => {
|
||||
process.stdout.write(Buffer.from([0xA9])) //second half of © character
|
||||
}, 100)
|
||||
}, 5000)
|
||||
|
||||
})
|
||||
Reference in new issue
Block a user