inserting: don't bother zero-terminating every single character
Just let read_line() zero-terminate the intermediate buffer when the line is complete.
Showing
+2 -4
Please register or sign in to comment
Just let read_line() zero-terminate the intermediate buffer when the line is complete.