MacOS fullscreen terminal window produces an empty gif
Describe the bug Every time I call t-rec, whether it be in iTerm2, Terminal, or WezTerm, the produced gif is always blank.
To Reproduce Steps to reproduce the behavior:
- I installed it both via
cargoand viabrew, both lead to the same options - I went to any folder and ran
t-rec - I entered some commands, and exited with
CTRL-D - I opened the gif and it was a blank white rectangle.
Expected behavior I expect the gif to be populated w/ my terminal recording.
Screenshots
This is the output from t-rec.

Your MacOS Version
- [x] 11 Big Sur
- [ ] 10.15 Catalina
- [ ] 10.14 Mojave
- [ ] 10.13 High Sierra
- [ ] 10.12 Sierra
- [ ] Older than 10.12
Your Architecture
- [ ] x86 / Intel
- [x] arm / Apple Silicon
Your Terminal
- [x] iTerm
- [ ] Alacitty
- [x] Apple Terminal
- [x] Other: Wezterm
Additional context
- I'm running zsh with a couple custom plugins, if they would have any impact
Can you please double check if your screen recording settings would allow your terminal to record anything? Should look like this:
I'm also running on MacOS M1 and don't have any issues.
I have enabled screen recording for all the terminals I’ve used t-rec on. Even with that it still won’t record
You could try to run in --verbose mode and check if the temp-dir (named: Frame cache dir) is filling up with frames.
Then see what is to see on those frames.
In the folder listed (in this case it was /var/folders/89/hxbx_tts6vd_5gdhbfyhn1300000gn/T/.tmpkHmg9F) there is only one file t-rec-frame-000000255.bmp which is empty just like the GIF. Preview complains that it is damaged or a format it cannot recognize.
Interestingly, it now seems to only be a problem with the terminal window being fullscreened. Native terminal, iTerm2 and WezTerm all work in windowed mode, but none of them work in fullscreen mode
Oh, that is surprising. Never tested that tbh.