From 59da18f2a342f2d93d126c80c9c2787892dae218 Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Fri, 7 Mar 2025 11:41:26 -0500 Subject: [PATCH] dev: expose shell to ANSIShell coreutil commands --- src/phoenix/src/ansi-shell/ANSIShell.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/phoenix/src/ansi-shell/ANSIShell.js b/src/phoenix/src/ansi-shell/ANSIShell.js index eccabf87e..616923fa3 100644 --- a/src/phoenix/src/ansi-shell/ANSIShell.js +++ b/src/phoenix/src/ansi-shell/ANSIShell.js @@ -123,7 +123,8 @@ export class ANSIShell extends EventTarget { env: this.env, locals: { pwd: this.variables.pwd, - } + }, + shell: this, }); this.ctx.externs.echo.off(); const input = await readline(