pinokiod 3.19.30 → 3.19.31
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 +3 -0
- package/package.json +1 -1
package/kernel/shell.js
CHANGED
|
@@ -492,6 +492,7 @@ class Shell {
|
|
|
492
492
|
//let re = /([\r\n]+[^\r\n]+)(\1)/gs
|
|
493
493
|
let re = /(.+)(\1)/gs
|
|
494
494
|
console.log("Prompt spawn", this.shell)
|
|
495
|
+
console.log("Prompt config", config)
|
|
495
496
|
let term = pty.spawn(this.shell, this.args, config)
|
|
496
497
|
let ready
|
|
497
498
|
let vt = new Terminal({
|
|
@@ -529,6 +530,7 @@ class Shell {
|
|
|
529
530
|
queue.push(data)
|
|
530
531
|
} else {
|
|
531
532
|
setTimeout(() => {
|
|
533
|
+
console.log("P", { eol: this.EOL, shell: this.shell, args: this.args })
|
|
532
534
|
if (!ready) {
|
|
533
535
|
ready = true
|
|
534
536
|
term.write(`echo pinokio${this.EOL}echo pinokio${this.EOL}`)
|
|
@@ -989,6 +991,7 @@ class Shell {
|
|
|
989
991
|
// ptyProcess doesn't exist => create
|
|
990
992
|
this.done = false
|
|
991
993
|
console.log("EXEC SPAWN")
|
|
994
|
+
console.log("EXEC config", config)
|
|
992
995
|
this.ptyProcess = pty.spawn(this.shell, this.args, config)
|
|
993
996
|
this.ptyProcess.onData((data) => {
|
|
994
997
|
console.log("EXEC ONDATA", data)
|