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

[feat] Terminal like Persistent Command History #21

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

shubhdevelop
Copy link
Contributor

Closes : #20

What has Changed

  • Now the used command history persist across a session
  • Even on reload command history persists only when user closes the tap the data is cleared

Development tested:

Screencast.from.02-10-24.03.14.06.AM.IST.webm

What has Changed
- Now the used command history persist accross as session
- Even on reload command history persists only when user closes
  the tap the data is cleared
src/components/CLI/CLI.tsx Outdated Show resolved Hide resolved
src/components/CLI/CLI.tsx Show resolved Hide resolved
src/components/CLI/CLI.tsx Show resolved Hide resolved
src/components/CLI/CLI.tsx Outdated Show resolved Hide resolved
fix a edge case wehre we were adding,
commmand to the history even when command
is empty string
@lucifercr07 lucifercr07 merged commit 6128dbc into DiceDB:master Oct 2, 2024
1 check passed
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.

[Feature] Terminal-Like Persistent Command History
2 participants