Skip to content

Fixed prompt not getting wiped on esc#4

Closed
AmaliaHaible wants to merge 1 commit into
dmtrKovalenko:mainfrom
AmaliaHaible:autowipe_prompt
Closed

Fixed prompt not getting wiped on esc#4
AmaliaHaible wants to merge 1 commit into
dmtrKovalenko:mainfrom
AmaliaHaible:autowipe_prompt

Conversation

@AmaliaHaible
Copy link
Copy Markdown
Contributor

When pressing escape with something in the prompt, it counted as a modified buffer, so i couldnt quit with :q, only with :qa!. This fixes it, but im not sure if this is the best way to do it

When pressing escape with something in the prompt, it counted as a
modified buffer, so i couldnt quit with :q, only with :qa!.
This fixes it, but im not sure if this is the best way to do it
@Tebro
Copy link
Copy Markdown

Tebro commented Aug 2, 2025

This happens to me even if I don't use esc. So if I use fff at all I end up with the prompt buffer where I cant directly access the commandline to do :q! but instead have to use fff to navigate to some other file and then do :qa! which isn't ideal. I'll test this branch and report back if it fixes this for me as well.

@Tebro
Copy link
Copy Markdown

Tebro commented Aug 2, 2025

Testing report: this PR fixes the issue for me.

@AmaliaHaible
Copy link
Copy Markdown
Contributor Author

This is also fixed by #10 which cleans up the buffers and exits insert mode as well. You should be able to go back to the main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants