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

Change: escape should not close the TUI #4

Closed
fresh2dev opened this issue Jun 26, 2023 · 2 comments
Closed

Change: escape should not close the TUI #4

fresh2dev opened this issue Jun 26, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@fresh2dev
Copy link

As a heavy user of vim, I am trigger-happy with the escape key. While evaluating projectable, I accidentally closed it more than I want to admit. Intuitively, I expect escape to operate as a sort of back-button. If I repeatedly slam esc, esc, esc`, ... I hope/expect to end up at the top of the file browser with all directories collapsed.

@dzfrias
Copy link
Owner

dzfrias commented Jun 26, 2023

That's understandable, and honestly I was having the same issues. I added escape as a global quit trigger, as "q" doesn't work in input boxes. I'll implement a setting to turn this behavior off.

@dzfrias dzfrias added the enhancement New feature or request label Jun 26, 2023
@dzfrias
Copy link
Owner

dzfrias commented Jun 26, 2023

Added the esc_to_close option!

You can remove esc as a close button with:

esc_to_close = false

This will be widely available in v1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants