17 lines
327 B
TypeScript
17 lines
327 B
TypeScript
/**
|
|
* Copyright (c) 2019 The xterm.js authors. All rights reserved.
|
|
* @license MIT
|
|
*/
|
|
|
|
import { IEvent } from 'common/EventEmitter2';
|
|
|
|
export interface ICharSizeService {
|
|
readonly width: number;
|
|
readonly height: number;
|
|
readonly hasValidSize: boolean;
|
|
|
|
readonly onCharSizeChange: IEvent<void>;
|
|
|
|
measure(): void;
|
|
}
|