We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a338f3 commit 43a5dbbCopy full SHA for 43a5dbb
docs/blog/posts/smooth-scrolling.md
@@ -39,7 +39,7 @@ Without that, we can never know which cell the user clicked on.
39
40
It's a trivial calculation, but we are missing a vital piece of information; the size of the terminal window in pixels.
41
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.
+Divide pixel coordinates by *pixels per cell* and we have cell coordinates.
43
44
But the terminal reports its size in cells, and *not* pixels.
45
So we can't use granular mouse coordinates.
0 commit comments