- deal with empty lines correctly: single letter options that don't get
a newline were being missed
- entirely empty lines (empty line without a newline) weren't being used
correctly
- fix UB from not setting line=NULL
- use the delim parameter instead of hardcoding for newlines
Actually safe to perform the terminal cleanup here. We keep using
exit(3) and quick_exit(3) so that only one of them actually prints the
results to the screen.
- make nrows size_t to avoid casting so much
- add fast exit cases for 0 and 1 input values
- don't print anything if entries.ms==0 and RETURN is pressed
- don't match an empty line when reading values from stdin