Today I Learned

Small, focused notes on things I pick up while building — too short for a full blog post.

September 2026

August 2026

CLI progress bars are just `\r` rewriting one line

A progress bar doesn't draw a new line per tick — it rewrites the same line over and over. The trick is the \r escape sequence: a carriage return that resets the cursor to the start of the current lin…