From cd3eea5b4811b3dcb2c9ae3c44a324df18084819 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Fri, 4 May 2018 11:29:01 -0700 Subject: [PATCH] Improve typings --- typings/xterm.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/typings/xterm.d.ts b/typings/xterm.d.ts index 2163b02e..d26956da 100644 --- a/typings/xterm.d.ts +++ b/typings/xterm.d.ts @@ -113,7 +113,8 @@ declare module 'xterm' { * - Cursor style * * This option is marked as experiemental because it will eventually be - * moved to an addon. + * moved to an addon. You can only set this option in the constructor (not + * setOption). */ rendererType?: RendererType; @@ -528,7 +529,7 @@ declare module 'xterm' { * Retrieves an option's value from the terminal. * @param key The option key. */ - getOption(key: 'bellSound' | 'bellStyle' | 'cursorStyle' | 'fontFamily' | 'fontWeight' | 'fontWeightBold'| 'termName'): string; + getOption(key: 'bellSound' | 'bellStyle' | 'cursorStyle' | 'fontFamily' | 'fontWeight' | 'fontWeightBold'| 'rendererType' | 'termName'): string; /** * Retrieves an option's value from the terminal. * @param key The option key.