Move buffer/buffers ownership to BufferService

This commit is contained in:
Daniel Imms
2019-06-08 20:21:29 -07:00
parent c5c370801c
commit 09b0bbed32
6 changed files with 28 additions and 8 deletions
+3
View File
@@ -4,10 +4,13 @@
*/
import { IEvent } from 'common/EventEmitter2';
import { IBuffer, IBufferSet } from 'common/buffer/Types';
export interface IBufferService {
readonly cols: number;
readonly rows: number;
readonly buffer: IBuffer;
readonly buffers: IBufferSet;
// TODO: Move resize event here