Skip to content

Escape to clear code at console prompt #5186

Answered by lionel-
srhrnkn asked this question in Feedback
Discussion options

You must be logged in to vote

We intentionally removed this behaviour because escape is also used to close popups. It's easy to hit escape one time too many and get your input accidentally cleared out.

In addition to Ctrl-C you can also use Ctrl-U. Both of these also work in terminals, which is a nice consistency. Or Ctrl-A / Cmd-A to select all the input and get the selection replaced by the next character you type.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@srhrnkn
Comment options

Comment options

You must be logged in to vote
1 reply
@srhrnkn
Comment options

Answer selected by srhrnkn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants