diff --git a/typings/xterm.d.ts b/typings/xterm.d.ts index 7ccd1943..ce9fd8f6 100644 --- a/typings/xterm.d.ts +++ b/typings/xterm.d.ts @@ -87,9 +87,26 @@ declare module 'xterm' { * The class that represents an xterm.js terminal. */ export class Terminal { + /** + * The element containing the terminal. + */ element: HTMLElement; + + /** + * The textarea that accepts input for the terminal. + */ textarea: HTMLTextAreaElement; + /** + * The number of rows in the terminal's viewport. + */ + rows: number; + + /** + * The number of columns in the terminal's viewport. + */ + cols: number; + /** * Creates a new `Terminal` object. *