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

Keybindings? #117

Open
lainq opened this issue Jul 4, 2021 · 13 comments
Open

Keybindings? #117

lainq opened this issue Jul 4, 2021 · 13 comments
Labels
enhancement New feature or request Hacktoberfest This Issue Will be Consider Under Hacktoberfest 2021

Comments

@lainq
Copy link
Contributor

lainq commented Jul 4, 2021

🚀 Feature

My idea:
After displaying the results(from StackExchange), we can open up the stdin to receive keypresses. So that we can perform specific tasks(or functions) with keyboard shortcuts.

Examples:
ctrl+s - > to save results to a file
ctrl+r -> Reload the results.

And many more...

The keyboard module will help us listen for keypresses.

Have you read the Contributing Guidelines on Pull Requests?

Yes

Motivation

I implemented this feature while I was working on a project. I thought we could implement this feature in dynamic-cli because it makes it easier for people to use the cli.

Pitch

explained above

@github-actions
Copy link

github-actions bot commented Jul 4, 2021

Hi👋 thanks for creating your first issue for IOSF, Will get back to you soon !.

@lainq lainq added the enhancement New feature or request label Jul 4, 2021
@GouravSardana
Copy link
Member

Hey @pranavbaburaj . I think this would be a awesome features to work and this will also increase the UX as such in the cli. We can start working on it to make this happen

@GouravSardana
Copy link
Member

@pranavbaburaj Are we working on this or do we need any discussion on it?

@GouravSardana
Copy link
Member

If you are busy, I can also pick it up

@lainq
Copy link
Contributor Author

lainq commented Jul 28, 2021

If you are busy, I can also pick it up

ye, I have exams. I will work on it after the exams. 🙂

@GouravSardana GouravSardana added the hacktoberfest-accepted Good Work, Your Pull Request is Accepted for the Hacktoberfest label Sep 30, 2021
@Siddhant-K-code Siddhant-K-code added Hacktoberfest This Issue Will be Consider Under Hacktoberfest 2021 and removed hacktoberfest-accepted Good Work, Your Pull Request is Accepted for the Hacktoberfest labels Oct 6, 2021
@AbhijitDutta338
Copy link

@GouravSardana, I am a gssoc participant. Can I work on this issue?

@lainq
Copy link
Contributor Author

lainq commented Mar 3, 2022

Yeah sure.

@GouravSardana
Copy link
Member

Go ahead and work on it. In your PR tag this issue

@AbhijitDutta338
Copy link

@GouravSardana @pranavbaburaj I noticed that when we are searching in dynamic-cli we can use arrow keys to navigate the results that are shown as a list. Can you tell me in which file it is implemented?

@AbhijitDutta338
Copy link

@GouravSardana Sir, also I would like to ask if it would be possible to have a small call. I have some doubts that I wanted to clarify.

@lainq
Copy link
Contributor Author

lainq commented Mar 8, 2022

@GouravSardana @pranavbaburaj I noticed that when we are searching in dynamic-cli we can use arrow keys to navigate the results that are shown as a list. Can you tell me in which file it is implemented?

Those keybindings are parts of the tui library we are using, not a part of out project repo.

@AbhijitDutta338
Copy link

Understood @pranavbaburaj sir, thanks!

@sahilsuman933
Copy link

@GouravSardana I would like to work on this issue so could you please assign this issue to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest This Issue Will be Consider Under Hacktoberfest 2021
Projects
None yet
Development

No branches or pull requests

5 participants