Command prompt line

Ah. I see another discussion on this topic.
https://discuss.kakoune.com/t/command-prompt-red-colon/2350

So, pressing ‘up arrow’ puts my cursor at the end of the prompt line. Then I can use control-w to delete words from the end…