as mentioned in bug #48880: One solution I would see to achieve this would be to set the stop character when you press enter, and unset it before you display a prompt.
as mentioned in bug #48880:
One solution I would see to achieve this would be to set the stop character when you press enter, and unset it before you display a prompt.