clearnline

understand buffer on input