send prompt when client press the enter only.