Create ICharDimensionsService

This commit is contained in:
Daniel Imms
2019-06-08 14:54:05 -07:00
parent 2eb77cc4da
commit 2e243feebe
2 changed files with 93 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
/**
* Copyright (c) 2019 The xterm.js authors. All rights reserved.
* @license MIT
*/
import { IEvent } from 'common/EventEmitter2';
export interface ICharDimensionsService {
readonly width: number;
readonly height: number;
readonly onCharDimensionsChange: IEvent<string>;
measure(): void;
}