Interface TerminalOptions

Terminal configuration options

interface TerminalOptions {
    addons?: Map<string, ITerminalAddon>;
    kernel?: Kernel;
    shell?: Shell;
    socket?: WebSocket;
    theme?: { background?: string; foreground?: string; promptColor?: string };
}
Hierarchy
  • ITerminalOptions
    • TerminalOptions

Properties

addons?: Map<string, ITerminalAddon>

XTerm addons to load

kernel?: Kernel

Reference to kernel instance

shell?: Shell

Reference to shell instance

socket?: WebSocket

WebSocket connection

theme?: { background?: string; foreground?: string; promptColor?: string }

Terminal theme