pinokiod 3.310.0 → 3.311.0
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/peer.js +3 -1
- package/kernel/shell.js +4 -0
- package/package.json +1 -1
package/kernel/peer.js
CHANGED
package/kernel/shell.js
CHANGED
|
@@ -54,6 +54,7 @@ class Shell {
|
|
|
54
54
|
this.nudgeReleaseTimer = null
|
|
55
55
|
this.lastInputAt = 0
|
|
56
56
|
this.canNudge = true
|
|
57
|
+
this.enableNudge = false
|
|
57
58
|
this.awaitingIdleNudge = false
|
|
58
59
|
this.idleNudgeTimer = null
|
|
59
60
|
this.idleNudgeDelay = 100
|
|
@@ -1378,6 +1379,9 @@ class Shell {
|
|
|
1378
1379
|
}
|
|
1379
1380
|
}
|
|
1380
1381
|
maybeNudgeForSequences(chunk = '') {
|
|
1382
|
+
if (!this.enableNudge) {
|
|
1383
|
+
return
|
|
1384
|
+
}
|
|
1381
1385
|
if (!chunk || typeof chunk !== 'string') {
|
|
1382
1386
|
return
|
|
1383
1387
|
}
|