4 ms·
You want to know how I know you never wrote your own text editor? Carriage return is a carriage return, not a delete or backspace or clear line.
by t-3 3y ago
You want to know how I know you never wrote your own text editor?
Carriage return is a carriage return, not a delete or backspace or clear line.
- benj111 3y ago>Carriage return is a carriage return To be fair it isn't. On typewriters it also adds a new line. On Mac, it is (used to be?) the new line character. I don't know how non vt terminals handled it.
- fragmede 3y agowho said anything about clearing? I just meant that \r goes to the beginning of the line, so you can output a busy spinner
- t-3 3y ago> What terminal interprets "\r" as "clear the line"? I would have thought that is considered a bug. >> most of them do. it's what a /r means. it's how cli programs can easily output a spinning wheel/similar for busy status. You did.