Feature request: allow "undo" for wiping input after hitting esc-esc

Status Fixed / completed
Maintainer reply ✓ Yes — dicksontsai
Activity 3 comments · opened Jun 2, 2025 · closed Jun 26, 2025
💡 Likely answer: A maintainer (dicksontsai, collaborator) responded on this thread — see the highlighted reply below.

Problem

If a user types escape twice, they lose their entered input. This is a destructive action that should have an 'undo'.

Real-world example

I'm carefully writing a prompt and I intend to type ``` but clumsily double-tap escape instead of backticks.

Desired functionality

Allow 'undoing' the double-escape wiping the input field either by hitting escape again or double-escape.

View original on GitHub ↗

3 Comments

hboon · 1 year ago

+1 Including u in vim mode

dicksontsai collaborator · 1 year ago

Implemented as of v1.0.33

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.