{#snippet meta()} {#if cwd} {place(cwd)} {/if} {running ? shell : `exit ${exitCode ?? 0}`} {/snippet} { ready = found; if (data.terminalId) shells.set(data.terminalId, { cwd: found.cwd, shell: found.shell }); }} onexit={(code) => (exitCode = code)} />