mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Remove old addon api 'apply' call
This commit is contained in:
@@ -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 {
|
||||
(<any>terminalConstructor.prototype).enableLigatures = function (): void {
|
||||
enableLigatures(this);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user