From eb163dee6ec9c440b3d8c8a8b5b0cac48308cbb3 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Mon, 11 Jun 2018 16:33:14 +0200 Subject: [PATCH] Update xterm typings --- src/typings/vscode-xterm.d.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/typings/vscode-xterm.d.ts b/src/typings/vscode-xterm.d.ts index 5620b484f4c..356aee471e3 100644 --- a/src/typings/vscode-xterm.d.ts +++ b/src/typings/vscode-xterm.d.ts @@ -71,6 +71,24 @@ declare module 'vscode-xterm' { */ enableBold?: boolean; + /** + * What character atlas implementation to use. The character atlas caches drawn characters, + * speeding up rendering significantly. However, it can introduce some minor rendering + * artifacts. + * + * - 'none': Don't use an atlas. + * - 'static': Generate an atlas when the terminal starts or is reconfigured. This atlas will + * only contain ASCII characters in 16 colors. + * - 'dynamic': Generate an atlas using a LRU cache as characters are requested. Limited to + * ASCII characters (for now), but supports 256 colors. For characters covered by the static + * cache, it's slightly slower in comparison, since there's more overhead involved in + * managing the cache. + * + * Currently defaults to 'static'. This option may be removed in the future. If it is, passed + * parameters will be ignored. + */ + experimentalCharAtlas?: 'none' | 'static' | 'dynamic'; + /** * The font size used to render text. */ -- GitLab