Support Cmd + K to clear the console
Categories
(DevTools :: Console, enhancement)
Tracking
(firefox67 fixed)
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: timonvanspronsen, Assigned: helenaenred, Mentored)
Details
(Keywords: dev-doc-complete, Whiteboard: [good first verify])
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0
Steps to reproduce:
I opened the console (cmd+alt+i) and tried to clear the console using the keyboard shortcut: cmd+k
Actual results:
Instead of clearing the console (I'm focused on the console input) it changes the focus to the address bar and replaces the input of the address bar to ?
.
Expected results:
It should've cleared the console.
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Hello Tim, thanks for the report!
We do support <kbd>Ctrl+L</kbd> to clear the console.
Is there any places where we tell people to use <kbd>Cmd+K</kbd> ?
Updated•6 years ago
|
Reporter | ||
Comment 2•6 years ago
|
||
Ah that makes sense, I think I remembered it wrong. That being said, cmd+k is the default way to clear the terminal on Mac (ctrl+l also works but cmd+k is more widely used if you search for "clear terminal mac"), also Chrome supports both cmd+k and ctrl+l.
Comment 3•6 years ago
|
||
okay, I changed the bug title. Thanks for the explanation, I think it would be reasonable to have it.
Reporter | ||
Comment 4•6 years ago
|
||
Thank you very much for taking it into consideration 🙏
Comment 5•6 years ago
|
||
Assigning Helena as we discussed it over Slack
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
|
||
This is a common shortcut on OSX to clear terminal output, and something that Chrome does,
so it makes sense to implement it in our console as well.
Comment 8•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
This is not working in Dev 67.0b5 (on 3/28/19). When I hit Ctrl+K on Windows, the focus jumps to the search box and does the same in Firefox Developer 67.0b5 in Linux. Is this not implemented yet?
Comment 11•6 years ago
•
|
||
Hello Irene, this is an OSX only change, I renamed the bug title to make it clearer.
Sorry about the confusion!
Comment 12•6 years ago
|
||
Hello Irene, this is an OSX only change, I renamed the bug title to make it clearer.
Sorry about the confusion!
Thank you for confirming this. I appreciate it.(In reply to Nicolas Chevobbe from comment #11)
Comment 14•6 years ago
|
||
Documentation changes completed.
Please see: MDN Sprints Issue #1234
Description
•