mirror of
https://github.com/MeexReay/poshlostios.git
synced 2025-06-24 10:32:59 +03:00
kfc print event in json
This commit is contained in:
parent
5d29953930
commit
fe03d8ab53
@ -22,9 +22,9 @@ async function main(args) {
|
||||
break
|
||||
}
|
||||
|
||||
writeStdout(event + "\n")
|
||||
writeStdout(JSON.stringify(event) + "\n")
|
||||
} else if (event.type == "char") {
|
||||
writeStdout(event + "\n")
|
||||
writeStdout(JSON.stringify(event) + "\n")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user