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

[Enhancement] - Terminal command history navigation based on current user input #28

Closed
prathameshkoshti opened this issue Oct 3, 2024 · 1 comment · Fixed by #29
Closed

Comments

@prathameshkoshti
Copy link
Contributor

prathameshkoshti commented Oct 3, 2024

Based on #21

Current behaviour

User is able to navigate through the commands executed earlier, using up and down arrow keys

Proposed Solution

Similarly to any shell that is present in the market, if user has typed something, based on the current input, command history to be shown which starts with current given input.
Eg. if user has executed following series of commands:

$ set name
$ get name
$ set gender
$ get gender
$ set birthYear
$ get birthYear

And then user types get in the terminal and tries to navigate through command history user shall see only commands starting with get, so the output may consist of following commands only:

$ get birthYear
$ get gender
$ get name

This makes UX more enhanced while navigating through command history

@prashant67690
Copy link

prashant67690 commented Oct 3, 2024

can you assign this issue to me @prathameshkoshti

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 a pull request may close this issue.

2 participants