createDefaultTerminal

Create an Xterm.js-based terminal emulator for input/output

class BrowserPod {
async createDefaultTerminal(consoleDiv: HTMLElement): Promise<Terminal>;
}

Parameters

  • consoleDiv (HTMLElement) - An HTML element where the terminal will be created.

Returns

createDefaultTerminal returns a Promise which resolves to a Terminal object.

Was this page helpful?
Suggest changes