If CR (\r) moves the cursor to the front of the line, and LF (\n) moves the cursor to the next line, why is LF consumed, rather than the line being re-read?
e.g.: hello world\r\n
Read
hello world, cursor is atd\ris seen, move to front of line(?)We don't reread
hello world, but the cursor is now looking at...h? (I would think that\rwould now result in us re-readinghello world.\nis seen, move to next line
To me, this functionality implies that the cursor is not necessarily related to the consumption of the file/text/buffer, but how this all cooperates is not immediately apparent to me, either.
What gives?