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

[Proposal] Toggle help instead of showing help #5

Open
saona-raimundo opened this issue Apr 14, 2023 · 1 comment
Open

[Proposal] Toggle help instead of showing help #5

saona-raimundo opened this issue Apr 14, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@saona-raimundo
Copy link

Hi! Thanks for the crate!

I just tried and wanted to suggest a UI behaviour.

Current behaviour

Help message (or the help tab) is shown with keys H or F1.
When going from a search to the help message, I tried to go back to the search by pressing H again, or Esc, but did not work.
The current solution is to press F, as stated in the help message and in the tabs.

Proposal

The proposal is to change the help behaviour from showing to toggling the help screen.
To go out of the help screen, one may go to the file search if there is any, or to the new scan otherwise.

Options

Introduce Esc special behaviour while in the help screen.

@funbiscuit
Copy link
Owner

Thanks for the suggestion!
I think the same should be done for logs tab of the app.
Currently it can be done kind of awkwardly so I'll implement this after some refactoring of app.rs

@funbiscuit funbiscuit added the enhancement New feature or request label Apr 16, 2023
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