Skip to content

Commit

Permalink
fixes typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
danprince committed Mar 20, 2022
1 parent 1abd53f commit ca2d891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Converts a point on the screen to terminal grid coordinates.

```ts
onmousemove = event => {
let { x, y } = terminal.screenToGrid(event.x, event.y);
let { x, y } = terminal.screenToGrid(event.clientX, event.clientY);
// x, y are rounded grid coordinates
}
```

0 comments on commit ca2d891

Please sign in to comment.