Skip to content

Commit

Permalink
Fix cols/rows in cursorFrame returned by onCursorMove (#3547)
Browse files Browse the repository at this point in the history
Fixes #3542
  • Loading branch information
ArtBIT authored and chabou committed Mar 27, 2019
1 parent a5010da commit 72bc73e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/term.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
})
Expand Down

0 comments on commit 72bc73e

Please sign in to comment.