ConradIrwin / showterm.io

The website for showterm!
MIT License
355 stars 49 forks source link

the first command is not played and timing is out of sync #38

Open wojdyr opened 9 years ago

wojdyr commented 9 years ago

I recoreded a few bash commands:

[wojdyr@dt tests]$ showterm bash
showterm recording. (Exit shell when done.)
[wojdyr@dt tests]$ echo 123
123
[wojdyr@dt tests]$ echo abc
abc
[wojdyr@dt tests]$ echo 1 2 3
1 2 3
[wojdyr@dt tests]$ exit
showterm recording finished.
Uploading...
http://showterm.io/1f39d968a3447c264913c
[wojdyr@dt tests]$ 

and when go to the URL above I see:

123                                                                             
[wojdyr@dt tests]$ echo abc                                                     
abc                                                                             
[wojdyr@dt tests]$ echo 1 2 3                                                   
1 2 3                                                                           
[wojdyr@dt tests]$ exit

Additionally, command prompts are being typed, and some slowly typed text is shown instantly. Tried both shell and ruby uploader - the same.

prongs commented 9 years ago

I've made a very large demo using showterm here. I see no issues. Most likely issue is on your side. Can you investigate further? We'd be happy to merge once you put a pull request.

wojdyr commented 9 years ago

Maybe showterm doesn't work on all platforms. I tried it on Linux (XFCE/Fedora22/bash/xfce4-terminal). Later I tried asciinema and it worked. I won't have chance to investigate it I'm afraid.