Move more handlers out, addon types into shared file

This commit is contained in:
Daniel Imms
2025-12-26 04:09:24 -08:00
parent 02e9e56eef
commit b82e8f345f
3 changed files with 66 additions and 43 deletions
+5 -3
View File
@@ -8,14 +8,16 @@
import { writeUnicodeTable } from 'unicodeTable';
import type { IControlWindow } from '../controlBar';
import type { Terminal } from '@xterm/xterm';
import type { AddonCollection } from 'types';
export class TestWindow implements IControlWindow {
public readonly id = 'test';
public readonly label = 'Test';
private _printCjkButton: HTMLButtonElement;
constructor(private readonly _terminal: Terminal) {
constructor(
private readonly _terminal: Terminal,
private readonly _addons: AddonCollection
) {
}
public build(container: HTMLElement): void {