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

Feature Request: Set terminal title when interactive mode is launched via shell hooks #2214

Open
fidgetingbits opened this issue Jul 1, 2024 · 0 comments

Comments

@fidgetingbits
Copy link

fidgetingbits commented Jul 1, 2024

If atuin is triggered in a shell by using the up/ctrl-r key, the terminal title will not be updated to reflect that the atuin TUI is open. This is the case even you use a plugin to set the titles for executed commands (ie: zsh-term-title or similar). This seems to because (at least on zsh) atin tui is being started from within a hook itself, before other hooks end up running. If you manually run atuin search --interactive and use a plugin similar to above, the title will be updated to indicate atuin is running.

I use a voice coding system (talon) that relies on analyzing the window title to know what voice grammars to load for a given context, and want to be able to detect when atuin is running so I can load atuin-specific grammars accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant