Use IBufferService for buffer access in InputHandler

This commit is contained in:
Daniel Imms
2019-07-13 00:52:54 -07:00
parent 61b219ce22
commit dd239b9811
3 changed files with 246 additions and 234 deletions
+1 -1
View File
@@ -297,7 +297,7 @@ export class Terminal extends Disposable implements ITerminal, IDisposable, IInp
this._userScrolling = false;
// Register input handler and refire/handle events
this._inputHandler = new InputHandler(this, this._coreService);
this._inputHandler = new InputHandler(this, this._bufferService, this._coreService);
this._inputHandler.onCursorMove(() => this._onCursorMove.fire());
this._inputHandler.onLineFeed(() => this._onLineFeed.fire());
this.register(this._inputHandler);