/** * Copyright (c) OpenLens Authors. All rights reserved. * Licensed under MIT License. See LICENSE in root directory for more information. */ import React from "react"; import { observer } from "mobx-react"; import { UserStore } from "../../../common/user-store"; import { SubTitle } from "../layout/sub-title"; import { Input, InputValidators } from "../input"; import { isWindows } from "../../../common/vars"; import { Switch } from "../switch"; import { Select } from "../select"; import { ThemeStore } from "../../theme.store"; export const Terminal = observer(() => { const userStore = UserStore.getInstance(); const themeStore = ThemeStore.getInstance(); const defaultShell = process.env.SHELL || process.env.PTYSHELL || ( isWindows ? "powershell.exe" : "System default shell" ); return (