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

Echo mode Terminal After exit #5

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

bhima2001
Copy link
Contributor

@bhima2001 bhima2001 commented Oct 23, 2024

Added "/bin/stty -raw echo" to set the teminal to echo mode so that anything written in the terminal is visible. Handle this for both 'exit' comand and 'ctrl + d'.

This pr closes #3

… exiting from the dicedb-cli either by exit command or ctrl+d
@bhima2001 bhima2001 changed the title Restore Terminal Settings After exit Echo mode Terminal After exit Oct 23, 2024
Copy link
Collaborator

@JyotinderSingh JyotinderSingh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this fix @bhima2001!

@JyotinderSingh JyotinderSingh merged commit d81aefe into DiceDB:master Oct 30, 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.

Terminal contents not visible after exiting diceDB-cli
2 participants