How to cancel current command in Chrome DevTools JavaScript console?

Viewed 119

How to cancel current command in Chrome DevTools JavaScript console?

Ctrl + C does not work like it does on a normal shell CLI terminal, nothing happens.

I know I can press Ctrl + L to clear the console but that doesn't clear the current command I have typed out.

Current workaround is Shift + home then delete but that is not as efficient as I would like.

I also tried Ctrl + Shift + P and searched for cancel and clear but nothing is coming up.

0 Answers
Related