From b450470142a2c66baecca392afa3f3ad3c62b3a4 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sun, 3 May 2020 06:32:32 -0700 Subject: [PATCH] Remove old addon api 'apply' call --- addons/xterm-addon-ligatures/src/index.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/addons/xterm-addon-ligatures/src/index.ts b/addons/xterm-addon-ligatures/src/index.ts index 5a2480c8..c867369d 100644 --- a/addons/xterm-addon-ligatures/src/index.ts +++ b/addons/xterm-addon-ligatures/src/index.ts @@ -83,16 +83,3 @@ export function enableLigatures(term: Terminal): void { return []; }); } - -/** - * Add capabilities to the provided terminal class for enabling ligature - * support. After calling this function, an `enableLigatures()` method is - * available on the terminal class, which will enable ligature support when - * called. - * @param terminalConstructor Terminal class from xterm.js - */ -export function apply(terminalConstructor: typeof Terminal): void { - (terminalConstructor.prototype).enableLigatures = function (): void { - enableLigatures(this); - }; -}