pinokiod 3.0.4 → 3.0.6
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 +1 -1
- package/package.json +1 -1
package/kernel/shell.js
CHANGED
|
@@ -821,7 +821,7 @@ ${cleaned}
|
|
|
821
821
|
if (this.ready) {
|
|
822
822
|
// when ready, watch out for the prompt pattern that terminates with [\r\n ]
|
|
823
823
|
|
|
824
|
-
let termination_prompt_re = new RegExp("
|
|
824
|
+
let termination_prompt_re = new RegExp(".*--- pinokio shell.run finished ---.*--- pinokio shell.run finished ---.*", "g")
|
|
825
825
|
|
|
826
826
|
//let termination_prompt_re = new RegExp(this.prompt_pattern + "[ \r\n]*$", "g")
|
|
827
827
|
let line = cleaned.replaceAll(/[\r\n]/g, "")
|