added cursor in terminal