Inline private member to ctor
This commit is contained in:
@@ -6,10 +6,8 @@ export class CharacterJoinerRegistry implements ICharacterJoinerRegistry {
|
|||||||
|
|
||||||
private _characterJoiners: ICharacterJoiner[] = [];
|
private _characterJoiners: ICharacterJoiner[] = [];
|
||||||
private _nextCharacterJoinerId: number = 0;
|
private _nextCharacterJoinerId: number = 0;
|
||||||
private _terminal: ITerminal;
|
|
||||||
|
|
||||||
constructor(terminal: ITerminal) {
|
constructor(private _terminal: ITerminal) {
|
||||||
this._terminal = terminal;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public registerCharacterJoiner(handler: (text: string) => [number, number][]): number {
|
public registerCharacterJoiner(handler: (text: string) => [number, number][]): number {
|
||||||
|
|||||||
Reference in New Issue
Block a user