stdlib: remove \n from gets