/** * Terminal tab: an xterm.js PTY view over the host's WebSocket terminal route. * A host { setAlias(event.target.value) }}> {hosts.map(host => )} {status.kind === 'connecting' &&
{tt('terminal.connecting')}
} {status.kind === 'connected' &&
{tt('terminal.ready', { alias: status.alias })}
} {status.kind === 'exited' && (
{tt('terminal.exited', { alias: status.alias })}{status.detail !== undefined ? ' (' + status.detail + ')' : ''}
)} {status.kind === 'error' &&
{tt('terminal.error', { error: status.detail })}
}
{status.kind === 'idle' && (
{hosts.length === 0 ? tt('hosts.empty') : tt('terminal.placeholder')}
)} {authPrompt !== undefined && (

{authPrompt.name || tt('terminal.auth.title')}

{authPrompt.instructions || tt('terminal.auth.hint')}

{authPrompt.prompts.map((p, idx) => ( ))}
)}
) }