Skip to content

Commit 43a5dbb

Browse files
committed
words
1 parent 9a338f3 commit 43a5dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/blog/posts/smooth-scrolling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Without that, we can never know which cell the user clicked on.
3939

4040
It's a trivial calculation, but we are missing a vital piece of information; the size of the terminal window in pixels.
4141
If we had that, we could divide the pixel dimensions by the cell dimensions to calculate the pixels per cell.
42-
Divide the pixel coordinates by *pixels per cell* and we have cell coordinates.
42+
Divide pixel coordinates by *pixels per cell* and we have cell coordinates.
4343

4444
But the terminal reports its size in cells, and *not* pixels.
4545
So we can't use granular mouse coordinates.

0 commit comments

Comments
 (0)