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

[20761] Add command history navigation in user interface #128

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

LuciaEchevarria99
Copy link
Contributor

This PR introduces the capability to navigate command history within the graphical interface of the application. Users can now utilize the arrow keys to traverse through previously entered commands. Key Changes:

  • CommandHistoryHandler Class: A new class, CommandHistoryHandler, has been created to manage the history of commands. This class handles adding commands to history, as well as retrieving the previous and next commands.

  • Integration with StdinEventHandler: The StdinEventHandler class has been updated to utilize the CommandHistoryHandler. When the user presses the up or down arrow keys, the application fetches the appropriate command from the history and displays it in the input area.

Signed-off-by: Lucia Echevarria <[email protected]>
@LuciaEchevarria99 LuciaEchevarria99 changed the title Add command history navigation in user interface [20761] Add command history navigation in user interface Oct 8, 2024
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 this pull request may close these issues.

1 participant