Interface TerminalService

interface TerminalService {
    all: TerminalWidget[];
    currentTerminal: undefined | TerminalWidget;
    lastUsedTerminal: undefined | TerminalWidget;
    onDidChangeCurrentTerminal: Event<undefined | TerminalWidget>;
    onDidCreateTerminal: Event<TerminalWidget>;
    getById(id): undefined | TerminalWidget;
    getByTerminalId(terminalId): undefined | TerminalWidget;
    getDefaultShell(): Promise<string>;
    newTerminal(options): Promise<TerminalWidget>;
    open(terminal, options?): void;
}

Implemented by

Properties

currentTerminal: undefined | TerminalWidget
lastUsedTerminal: undefined | TerminalWidget
onDidChangeCurrentTerminal: Event<undefined | TerminalWidget>
onDidCreateTerminal: Event<TerminalWidget>

Methods