mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 14:08:41 -09:00
Fix cols/rows in cursorFrame returned by onCursorMove (#3547)
Fixes #3542
This commit is contained in:
parent
a5010da417
commit
72bc73ea76
1 changed files with 2 additions and 2 deletions
|
|
@ -174,8 +174,8 @@ export default class Term extends React.PureComponent {
|
||||||
y: this.term._core.buffer.y * this.term._core.renderer.dimensions.actualCellHeight,
|
y: this.term._core.buffer.y * this.term._core.renderer.dimensions.actualCellHeight,
|
||||||
width: this.term._core.renderer.dimensions.actualCellWidth,
|
width: this.term._core.renderer.dimensions.actualCellWidth,
|
||||||
height: this.term._core.renderer.dimensions.actualCellHeight,
|
height: this.term._core.renderer.dimensions.actualCellHeight,
|
||||||
col: this.term._core.buffer.y,
|
col: this.term._core.buffer.x,
|
||||||
row: this.term._core.buffer.x
|
row: this.term._core.buffer.y
|
||||||
};
|
};
|
||||||
props.onCursorMove(cursorFrame);
|
props.onCursorMove(cursorFrame);
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue