Clear buffer every line