Add terminal and addon refs to all windows

This commit is contained in:
Daniel Imms
2025-12-26 04:24:07 -08:00
parent fa87ecdc4e
commit dc0d7c81d9
9 changed files with 82 additions and 42 deletions
+6
View File
@@ -3,6 +3,11 @@
* @license MIT
*/
/// <reference path="../../typings/xterm.d.ts"/>
import type { Terminal } from '@xterm/xterm';
import type { AddonCollection } from 'types';
export interface ITabConfig {
id: string;
label: string;
@@ -12,6 +17,7 @@ export interface IControlWindow {
readonly id: string;
readonly label: string;
build(container: HTMLElement): void;
setTerminal(terminal: Terminal): void;
}
export class ControlBar {