@xterm/addon-webgl 0.17.0-beta.3 → 0.17.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addon-webgl.js.map +1 -1
- package/package.json +1 -1
- package/src/WebglAddon.ts +3 -2
package/package.json
CHANGED
package/src/WebglAddon.ts
CHANGED
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
* @license MIT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
import type { ITerminalAddon, Terminal } from '@xterm/xterm';
|
|
7
|
+
import type { WebglAddon as IWebglApi } from '@xterm/addon-webgl';
|
|
6
8
|
import { ICharacterJoinerService, ICharSizeService, ICoreBrowserService, IRenderService, IThemeService } from 'browser/services/Services';
|
|
7
9
|
import { ITerminal } from 'browser/Types';
|
|
8
10
|
import { EventEmitter, forwardEvent } from 'common/EventEmitter';
|
|
9
11
|
import { Disposable, toDisposable } from 'common/Lifecycle';
|
|
10
12
|
import { getSafariVersion, isSafari } from 'common/Platform';
|
|
11
13
|
import { ICoreService, IDecorationService, ILogService, IOptionsService } from 'common/services/Services';
|
|
12
|
-
import { ITerminalAddon, Terminal } from '@xterm/xterm';
|
|
13
14
|
import { WebglRenderer } from './WebglRenderer';
|
|
14
15
|
import { setTraceLogger } from 'common/services/LogService';
|
|
15
16
|
|
|
16
|
-
export class WebglAddon extends Disposable implements ITerminalAddon {
|
|
17
|
+
export class WebglAddon extends Disposable implements ITerminalAddon , IWebglApi {
|
|
17
18
|
private _terminal?: Terminal;
|
|
18
19
|
private _renderer?: WebglRenderer;
|
|
19
20
|
|