You can press the backspace key on your keyboard to move the blinking line backwards — which also will erase any text in its path.
Apple keyboard
You can get the same functionality from pressing the “delete” key on an Apple keyboard.
text editing demo
It never hurts to keep looking for sunshine.
Eeyore