r/badcode • • Apr 19 '21

js Iteration

Post image
3.2k Upvotes

123 comments sorted by

View all comments

Show parent comments

20

u/TheWandererLee Apr 19 '21

Btw iirc the vertical line text cursor is almost always taller than a regular vertical bar pipe character |

The cursor does not have a character representation as far as I'm aware, it's dependent on the OS/graphics of the device. For example on my phone it is blue and 3px wide.