Skip to Content
Terminal

Terminal

The Terminal component provides an integrated terminal within Genome Studio Web.

Overview

Located in components/Terminal/, the Terminal includes:

  • Terminal.tsx — Main terminal container component
  • TerminalInstance.tsx — Individual terminal session management using xterm.js
  • Appbar.tsx — Terminal toolbar with session controls
  • SystemStats/ — System statistics display (CPU, memory, etc.)
  • Terminal.css — Terminal styling

Features

  • Multiple terminal sessions
  • Real-time command execution
  • System resource monitoring
  • Command history
  • Copy/paste support

Usage

import { Terminal } from '@/components/Terminal/Terminal' export function TerminalPanel() { return <Terminal /> }

Architecture

The Terminal connects to the backend via WebSocket to execute commands in the server-side shell. Each terminal instance maintains its own session and command history.

Last updated on