From 82b3beb921932701d6bb213eb97cf3496c9bb30b Mon Sep 17 00:00:00 2001 From: Paris Kasidiaris Date: Sun, 9 Jul 2017 14:33:56 +0300 Subject: [PATCH] Fix reference to `terminal.buffer.lines` --- src/InputHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InputHandler.ts b/src/InputHandler.ts index 3900d56e..d8e942d3 100644 --- a/src/InputHandler.ts +++ b/src/InputHandler.ts @@ -61,7 +61,7 @@ export class InputHandler implements IInputHandler { } else { // The line already exists (eg. the initial viewport), mark it as a // wrapped line - this._terminal.lines.get(this._terminal.y).isWrapped = true; + this._terminal.buffer.lines.get(this._terminal.buffer.y).isWrapped = true; } } else { if (ch_width === 2) // FIXME: check for xterm behavior