chjj / ttystudio

A terminal-to-gif recorder minus the headaches.
Other
3.24k stars 93 forks source link

ttystudio ignores `^C` signal #8

Closed joshblum closed 9 years ago

joshblum commented 9 years ago

If you want to cancel the writing of a gif you have to manually find the process number and kill it. It would be much easier if standard ^C worked.

austinpray commented 9 years ago

Yep. Once you start it you can't stop it.

+1

chjj commented 9 years ago

This is likely due to blessed setting raw mode. I added a line to set the terminal input back to cooked, but I'm not sure it works.

Doing:

$ ttystudio frames.json
$ ttystudio frames.json output.gif

Should let you ^C it, since blessed is never instantiated.