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

Save the user prompt that is sent from web terminal #37

Open
MuhammedAliISIK opened this issue Aug 18, 2023 · 1 comment
Open

Save the user prompt that is sent from web terminal #37

MuhammedAliISIK opened this issue Aug 18, 2023 · 1 comment

Comments

@MuhammedAliISIK
Copy link

I am trying to save the user prompt to a log file but this program receives every key that is pressed by user without filtering any. Is there any way to save only the input when pressed enter?

@cs01
Copy link
Owner

cs01 commented Aug 21, 2023

Which program are you running? A bash shell? If it’s bash, it saves command history on its own to a file called ~/.bash_history.

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

No branches or pull requests

2 participants