faressoft / terminalizer

🦄 Record your terminal and generate animated gif images or share a web player
https://terminalizer.com
MIT License
15.28k stars 499 forks source link

Fails to work on windows #119

Open kamiyo opened 4 years ago

kamiyo commented 4 years ago

I'm not sure what I'm doing wrong.

When I run terminalizer record demo, it prints 'Press CTRL+D to exit and save the recording', then it completely exits, the console is cleared, and a new shell is opened. I think the node process is still running in the background, but I can't figure out why it just exits.

Running in powershell, node version: v12.18.2

sudheej commented 4 years ago

@kamiyo Once the below command is executed, a session is opened with powershell terminalizer record demo

Start typing some terminal commands to do a test recording

Finally type 'exit' the recording would be saved as a yml file

runterminalizer play demo to view the recorded demo.

kamiyo commented 4 years ago

Thanks, it wasn't clear that I needed to type 'exit'. I tried Ctrl + D (which works in WSL/Linux) but that doesn't register on PS. Should we update the docs for that?

sudheej commented 4 years ago

Thanks, it wasn't clear that I needed to type 'exit'. I tried Ctrl + D (which works in WSL/Linux) but that doesn't register on PS. Should we update the docs for that?

The exit is a PowerShell thing to get out of the session to save the file. Feel free to submit a contribution to the doc. Thanks.