pinokiod 3.19.31 → 3.19.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/shell.js +2 -2
- package/package.json +1 -1
package/kernel/shell.js
CHANGED
|
@@ -525,14 +525,14 @@ class Shell {
|
|
|
525
525
|
cb()
|
|
526
526
|
}, 1)
|
|
527
527
|
term.onData((data) => {
|
|
528
|
-
console.log({ data })
|
|
528
|
+
console.log("Prompt onData", { data, ready })
|
|
529
529
|
if (ready) {
|
|
530
530
|
queue.push(data)
|
|
531
531
|
} else {
|
|
532
532
|
setTimeout(() => {
|
|
533
|
-
console.log("P", { eol: this.EOL, shell: this.shell, args: this.args })
|
|
534
533
|
if (!ready) {
|
|
535
534
|
ready = true
|
|
535
|
+
console.log("P", { eol: this.EOL, shell: this.shell, args: this.args, ready })
|
|
536
536
|
term.write(`echo pinokio${this.EOL}echo pinokio${this.EOL}`)
|
|
537
537
|
}
|
|
538
538
|
}, 500)
|