From 6e123e90eec4cd1f223c8b7182e75b2bfde856ce Mon Sep 17 00:00:00 2001 From: Simon Lamon Date: Fri, 5 Aug 2022 16:56:54 +0000 Subject: [PATCH] Add example back --- typings/xterm-headless.d.ts | 4 ++++ typings/xterm.d.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/typings/xterm-headless.d.ts b/typings/xterm-headless.d.ts index 55114bf6..1c0a986a 100644 --- a/typings/xterm-headless.d.ts +++ b/typings/xterm-headless.d.ts @@ -544,6 +544,10 @@ declare module 'xterm-headless' { /** * Gets or sets the terminal options. This supports setting multiple options. * + * @example Set a single option + * ```typescript + * terminal.options.fontSize = 12; + * ``` * * @example Set multiple options * ```typescript diff --git a/typings/xterm.d.ts b/typings/xterm.d.ts index e62c5e70..e989cdbc 100644 --- a/typings/xterm.d.ts +++ b/typings/xterm.d.ts @@ -706,6 +706,10 @@ declare module 'xterm' { /** * Gets or sets the terminal options. This supports setting multiple options. * + * @example Set a single option + * ```typescript + * terminal.options.fontSize = 12; + * ``` * * @example Set multiple options * ```typescript