Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pressing escape does nothing #590

Closed
mbertschler opened this issue Mar 15, 2017 · 3 comments
Closed

pressing escape does nothing #590

mbertschler opened this issue Mar 15, 2017 · 3 comments

Comments

@mbertschler
Copy link

Description of the problem or steps to reproduce

Open the micro editor, press escape. I expect that the editor closes or the save changes to (yes/no/esc) prompt is displayed. But nothing at all happens. I have to exit the editor with the Ctrl+e quit command.

Specifications

Version: 1.1.5-33
Commit hash: 9b51069
Compiled on March 01, 2017

It works fine on multiple machines, I just saw this behavior on one of our servers.

OS: Debian GNU/Linux 8 \n \l
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux

Terminal:
GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)

@zyedidia
Copy link
Owner

This is intended. The behavior of the escape key was changed somewhat recently in #522. Since escape was also bound for leaving command mode, mashing the escape key to cancel an action would end up closing the editor.

If you'd like to get the old functionality back, you can rebind Esc to Quit.

@gity-up
Copy link

gity-up commented Mar 16, 2017

Thank you @zyedidia, i enjoyed the Esc to Quit binding as i don't utilize bash mode within micro. very sharp management of keybinidings with the #552 change, great job.

@mbertschler
Copy link
Author

Thanks for the quick response, I just was surprised by this change. I am happy though to see CtrlQ be the new quit shortcut because this is what I would have chosen too 🙂

Thanks for this nice editor, I am currently trying to convert a coworker that likes to use nano 😉 (and it would be really embarassing for me if I could not tell him how to quit the editor with a single shortcut)

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

No branches or pull requests

3 participants