Fix cols/rows in cursorFrame returned by onCursorMove (#3547)

Fixes #3542
This commit is contained in:
ArtBIT 2019-03-27 09:41:28 +01:00 committed by CHaBou
parent a5010da417
commit 72bc73ea76

View file

@ -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);
})