From 72bc73ea7670b289b750c00b05fd49f6e4bbc225 Mon Sep 17 00:00:00 2001 From: ArtBIT Date: Wed, 27 Mar 2019 09:41:28 +0100 Subject: [PATCH] Fix cols/rows in `cursorFrame` returned by `onCursorMove` (#3547) Fixes #3542 --- lib/components/term.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/components/term.js b/lib/components/term.js index afd46c22..74694c5f 100644 --- a/lib/components/term.js +++ b/lib/components/term.js @@ -174,8 +174,8 @@ export default class Term extends React.PureComponent { y: this.term._core.buffer.y * this.term._core.renderer.dimensions.actualCellHeight, width: this.term._core.renderer.dimensions.actualCellWidth, height: this.term._core.renderer.dimensions.actualCellHeight, - col: this.term._core.buffer.y, - row: this.term._core.buffer.x + col: this.term._core.buffer.x, + row: this.term._core.buffer.y }; props.onCursorMove(cursorFrame); })