t-rec-rs
t-rec-rs copied to clipboard
alacritty terminal is not recognised by default
Describe the bug When recording in alacritty, when started out of a iterm2 terminal, it is not recording the alacritty but iterm2
To Reproduce Steps to reproduce the behavior:
- open alacritty from an iterm2 terminal
- start
t-rec
in alacritty terminal - end recording
- see that actually the iterm2 teminal got recorded
Expected behavior Well, the terminal that t-rec was started was alacritty, so this should have been recorded.
Screenshots
Version Numbers of your System:
- OS: MacOS
- Version: all
- Terminal: Alacitty
Additional context
the workaround would be TERM_PROGRAM=alacritty t-rec
I filed a PR to make sure that alacritty sets this variable like also others do, e.g. vscode
Workarounds
Set the window name (aka terminal name)
NOTE: this works only if there is just one window with this name
TERM_PROGRAM=alacitty t-rec
Set the window id
find the window id of alacritty:
t-rec --ls-win | grep -i alacritty
Alacritty | 7324
then use this window id explicitly:
WINDOWID=7324 t-rec