'\n' of terminal input fixed