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 is resolved when the terminal has been created.

Was this page helpful?
Suggest changes