Skip to content

Commit 59da18f

Browse files
committed
dev: expose shell to ANSIShell coreutil commands
1 parent f897eee commit 59da18f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/phoenix/src/ansi-shell/ANSIShell.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ export class ANSIShell extends EventTarget {
123123
env: this.env,
124124
locals: {
125125
pwd: this.variables.pwd,
126-
}
126+
},
127+
shell: this,
127128
});
128129
this.ctx.externs.echo.off();
129130
const input = await readline(

0 commit comments

Comments
 (0)