pyxtermjs icon indicating copy to clipboard operation
pyxtermjs copied to clipboard

Save the user prompt that is sent from web terminal

Open MuhammedAliISIK opened this issue 1 year ago • 1 comments

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?

MuhammedAliISIK avatar Aug 18 '23 11:08 MuhammedAliISIK

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.

cs01 avatar Aug 21 '23 01:08 cs01