diff --git a/frontend/providers/terminal/src/components/terminal/index.tsx b/frontend/providers/terminal/src/components/terminal/index.tsx index e129f0fce73..7c9a3a63dce 100644 --- a/frontend/providers/terminal/src/components/terminal/index.tsx +++ b/frontend/providers/terminal/src/components/terminal/index.tsx @@ -46,7 +46,7 @@ function Terminal({ url, site }: { url: string; site: string }) { ); iframeRef.current?.contentWindow?.postMessage( { - command: `echo -e "\\e[A\\e[K 👉 Switched to namespace \\e[1;4;32m${nsid}\\e[0m"` + command: `echo -e "\\e[A\\e[K 👉 Switched to namespace \\e[1;4;32m${nsid}\\e[0m" && history -c` }, url );