File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1- { "commit" : " 1e72d52278730f7d22448be9d5cf2daf12559486 " , "version" : " 0.0.2 " }
1+ { "commit" : " 0ee373629789f01fb9f54f6747735b51a94a5562 " }
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ export class BoltShell {
105105 * this.#shellInputStream?.write('\x03');
106106 */
107107 this . terminal . input ( '\x03' ) ;
108+ await this . waitTillOscCode ( 'prompt' ) ;
108109
109110 if ( state && state . executionPrms ) {
110111 await state . executionPrms ;
@@ -145,6 +146,10 @@ export class BoltShell {
145146 terminalOutput . pipeTo (
146147 new WritableStream ( {
147148 write ( data ) {
149+ /*
150+ * const [, osc] = data.match(/\x1b\]654;([^\x07]+)\x07/) || [];
151+ * console.log('terminal onData', { data,osc });
152+ */
148153 if ( ! isInteractive ) {
149154 const [ , osc ] = data . match ( / \x1b \] 6 5 4 ; ( [ ^ \x07 ] + ) \x07 / ) || [ ] ;
150155
You can’t perform that action at this time.
0 commit comments