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

Explicitely support tmux, fallback if terminfo isn't available #9

Merged
merged 5 commits into from Dec 28, 2022

Conversation

passcod
Copy link
Member

@passcod passcod commented Dec 27, 2022

Within tmux (and screen but that's pre-existing) we can assume the escape and avoid looking up terminfo. This can help on systems which are a bit bare or broken and don't have a functional terminfo. Even outside of these, we can detect for terminfo and not select the variant if we don't find one, which will fall back to the hardcoded sequence more often.

From watchexec/cargo-watch#218

…able

Within tmux and zellij (and screen but that's pre-existing) we can assume the escape and avoid looking up terminfo. This can help on systems which are a bit bare or broken and don't have a functional terminfo. Even outside of these, we can detect for terminfo and not select the variant if we don't find one, which will fall back to the hardcoded sequence more often.
@passcod passcod changed the title Explicitely support tmux and zellij, fallback if terminfo isn't available Explicitely support tmux, fallback if terminfo isn't available Dec 27, 2022
@passcod passcod enabled auto-merge (squash) December 28, 2022 02:37
@passcod passcod merged commit 90cd645 into main Dec 28, 2022
@passcod passcod deleted the explicit-tmux-zellij-fallback branch December 28, 2022 02:41
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

Successfully merging this pull request may close these issues.

None yet

1 participant