closes #177. cleans the input when [enter] is pressed