Read a string from stdin for better cross-platform

Reading a char was causing weirdness across mac/linux