You have looked at a blinking text cursor for more hours than you've looked at most of your relatives. I had never once thought about it until I had to draw one myself.
I make a tool that renders typing animations as GIFs. A GIF is just pictures, so there is no real cursor in it. Every blink is a frame I have to draw on purpose. Which meant I suddenly needed answers to questions I'd never asked. How long is a blink? What shape is it? Does it blink while you type?
Here's what I found.
The number is 530
On Windows, the default caret blink time is 530 milliseconds. On for 530, off for 530, a full cycle a little over once a second. It's been that way for decades, and it's a system setting other apps can read, so a lot of software inherits it without anyone deciding to.
A round number is tempting. 500 is what a programmer would type without thinking. But 530 is the rhythm most of us have been staring at since we were kids, and a fake cursor only looks real if it keeps the same beat as the real ones.
So that's the constant in my code, and the whole "pause" logic is ten lines:
const BLINK_MS = 530; function pushHold(frames, phrase, chars, total, s) { if (!s.blink || s.cursor === "none") { frames.push({ phrase, chars, cursorOn: true, ms: total }); return; } let left = total, on = true; while (left > 0) { const ms = Math.min(BLINK_MS, left); frames.push({ phrase, chars, cursorOn: on, ms }); left -= ms; on = !on; } } A 1.4 second pause becomes three frames: on for 530, off for 530, on for the remaining 340. Three pictures, and your brain fills in "someone is thinking."
The rule that's easy to get wrong
The obvious way to do it is to blink the cursor on a timer, always. That looks fake, and it's hard to say why until you type a sentence in a real editor and watch the caret instead of the words.
A real cursor doesn't blink while you're typing. Every keystroke resets the timer and shows it solid. It only starts blinking when you stop. Here's the difference, slowed down so you can see it:
The top one flickers like a bad fluorescent tube. The bottom one reads as a person typing, then pausing. Same letters, same speed. The only difference is that while characters are landing, the cursor is simply on.
It makes sense once you think about what the blink is for. It exists so you can find the insertion point in a wall of still text. While you're typing, you already know where it is. It's wherever the letters are appearing.
Three shapes, three eras
The block is the oldest of the three in spirit. Character terminals could only light up whole character cells, so the cursor was a cell. It survives in every terminal emulator, and choosing it instantly says "command line."
The underscore is the block's quieter sibling, from machines where inverting a whole cell was distracting or expensive. If you ever watched a PC count its memory at boot, that was the underscore.
The bar arrived with graphical interfaces, where text stopped living in a grid. It sits between letters instead of on one, which is a real difference in meaning: a block says "this character," a bar says "this gap."
In a GIF these are three fillRect calls sized off the font. The bar is 7% of the font size wide, with a floor of 2 pixels, because at small sizes a 1 pixel bar disappears into the anti-aliasing and the animation looks like it has no cursor at all.
It was a patent
The blinking cursor is usually credited to Charles Kiesling, an engineer who filed a patent for it in 1967. Before that, finding your place on a screen full of static characters was a genuine usability problem. His fix was to make one thing on the screen move.
That's still the best argument for the blink: on a still page, motion is the cheapest possible way to say here.
When blinking is the wrong call
Motion grabs attention whether or not you want it to, so two things are worth knowing.
A once-a-second blink is far below the three-flashes-per-second threshold that accessibility guidelines flag as a seizure risk. You're fine there. But the same guidelines say anything that blinks for more than five seconds alongside other content should be pausable, and a GIF can't be paused. A typing GIF as a page header is decoration. A typing GIF next to a paragraph you want people to actually read is a distraction with a nice font.
And if the cursor is the only thing moving after the text finishes, consider letting it stop. A loop that types, holds, and restarts gives the eye a reason to look. A cursor that blinks forever at the end of a finished sentence is just a thing in your peripheral vision that won't quit.
What's your editor's cursor set to? I've met people with strong opinions about smooth versus blink and I respect all of them.


