mirror of
https://github.com/coleam00/bolt.new-any-llm
synced 2024-12-27 22:33:03 +00:00
Merge pull request #789 from thecodacus/bolt-shell-race-condition
fix: added wait till terminal prompt for bolt shell execution
This commit is contained in:
commit
95dbcf1eb7
@ -105,6 +105,7 @@ export class BoltShell {
|
|||||||
* this.#shellInputStream?.write('\x03');
|
* this.#shellInputStream?.write('\x03');
|
||||||
*/
|
*/
|
||||||
this.terminal.input('\x03');
|
this.terminal.input('\x03');
|
||||||
|
await this.waitTillOscCode('prompt');
|
||||||
|
|
||||||
if (state && state.executionPrms) {
|
if (state && state.executionPrms) {
|
||||||
await state.executionPrms;
|
await state.executionPrms;
|
||||||
|
Loading…
Reference in New Issue
Block a user