Hacker News new | past | comments | ask | show | jobs | submit login

The goal is to get a new line only when not currently at the start of a line, so the number of spaces doesn’t depend on where the cursor is.



Oh, right; I somehow completely missed the wraparound effect of the spaces.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: