At any point while drawing your shape you can press the Backspace key on your keyboard to delete the most recently drawn line. Continue pressing Backspace to delete multiple lines.
See also
Promap hot keys