sassman / t-rec-rs

Blazingly fast terminal recorder that generates animated gif images for the web written in rust

Home Page:https://crates.io/crates/t-rec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

t-rec does not clean up recording frames when being killed

stoffeastrom opened this issue · comments

Was a while ago I used t-rec but somehow I manage to get into some shenanigans. Starting it by

t-rec

and it looked like usual. After a short while it looks like it's stopping but no message for generating gif/video. After a some hour my disk got full :D. Did a small reproduction video for better understanding. Not sure if I need to update something but either way the process shouldn't run out of control.

t-rec-bug.mp4

omg, I remembered wrong. I thought the ctrl+D box was suppose to stay. PEBCAK.. closing this

Glad you found a solution.

But one question, how did you manage to have the keyboard keys popping up as overlay?

@sassman for this recording I actually used Kap that has a key cast plugin key-cast.

For mac you should be able to use keycastr though

I think one bug can be extracted here, when killing t-rec the files from the recording should be cleaned up.