+
+
{onOpenInTab && (
-
-
- {shellInfo && (
- <>
- {shellInfo.shell}
- /
- {shellInfo.cwd}
- >
- )}
-
-
{error && (
{error}
@@ -492,19 +518,15 @@ export function TerminalSettings({
-
-
-
-
-
- {t('settings.terminal.windowTitle')}
-
-
+
)}
@@ -512,7 +534,7 @@ export function TerminalSettings({
)
}
-function StatusPill({ status, label }: { status: TerminalStatus; label: string }) {
+function StatusPill({ status, label, compact = false }: { status: TerminalStatus; label: string; compact?: boolean }) {
const color =
status === 'running'
? 'bg-[var(--color-success)]'
@@ -523,7 +545,7 @@ function StatusPill({ status, label }: { status: TerminalStatus; label: string }
: 'bg-[var(--color-text-tertiary)]'
return (
-
+
{label}