pinokiod 3.19.42 → 3.19.43

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.
Files changed (2) hide show
  1. package/kernel/shell.js +10 -2
  2. package/package.json +1 -1
package/kernel/shell.js CHANGED
@@ -1279,8 +1279,16 @@ ${cleaned}
1279
1279
  this.params.onready()
1280
1280
  }
1281
1281
  if (this.ptyProcess) {
1282
- console.log("ptyProcess.write", { cmd: this.cmd, eol: this.EOL })
1283
- this.ptyProcess.write(`${this.cmd}${this.EOL}`)
1282
+ if (this.platform === "win32" && this.shell !== "cmd.exe") {
1283
+ console.log("Write after 500ms")
1284
+ setTimeout(() => {
1285
+ console.log("ptyProcess.write", { cmd: this.cmd, eol: this.EOL })
1286
+ this.ptyProcess.write(`${this.cmd}${this.EOL}`)
1287
+ }, 500)
1288
+ } else {
1289
+ console.log("ptyProcess.write", { cmd: this.cmd, eol: this.EOL })
1290
+ this.ptyProcess.write(`${this.cmd}${this.EOL}`)
1291
+ }
1284
1292
  // setTimeout(() => {
1285
1293
  // this.ptyProcess.write('\x1B[?2004h');
1286
1294
  // }, 500)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.19.42",
3
+ "version": "3.19.43",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {