Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alacritty terminal is not recognised by default #44

Open
sassman opened this issue Jan 19, 2021 · 2 comments
Open

alacritty terminal is not recognised by default #44

sassman opened this issue Jan 19, 2021 · 2 comments
Assignees
Labels
OS: MacOS This Issue is MacOS specific Status: In Progress Status: Work has started, but not yet done

Comments

@sassman
Copy link
Owner

sassman commented Jan 19, 2021

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:

  1. open alacritty from an iterm2 terminal
  2. start t-rec in alacritty terminal
  3. end recording
  4. 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

@sassman
Copy link
Owner Author

sassman commented Jan 19, 2021

I filed a PR to make sure that alacritty sets this variable like also others do, e.g. vscode

@sassman sassman added OS: MacOS This Issue is MacOS specific Status: In Progress Status: Work has started, but not yet done labels Jan 19, 2021
@sassman sassman self-assigned this Jan 19, 2021
@sassman sassman pinned this issue May 1, 2021
@sassman
Copy link
Owner Author

sassman commented May 1, 2021

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

sassman added a commit that referenced this issue May 1, 2021
 - relates to #44 and #65
 - provide some helpful error messages
 - link the alacritty error case
sassman added a commit that referenced this issue May 1, 2021
 - relates to #44 and #65
 - provide some helpful error messages
 - link the alacritty error case
sassman added a commit that referenced this issue May 1, 2021
 - relates to #44 and #65
 - provide some helpful error messages
 - link the alacritty error case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: MacOS This Issue is MacOS specific Status: In Progress Status: Work has started, but not yet done
Projects
None yet
Development

No branches or pull requests

1 participant