add return_pressed to the txt input