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

Support for gnu screen #47

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hk4n
Copy link

@hk4n hk4n commented May 28, 2023

This is a PR to support GNU Screen

How it works is when you are within a screen session the STY environment variable is set and is detected by the
plugin when the togglecursor_enable_gnu_screen_escaping is set.
If you exit screen, STY will not be set anymore and and the plugin will use the normal escape sequences.

I decided to not automatically detect if GNU Screen is set if for some reason it breaks compatibility for someone, although
I do not think it does since STY is supposed to be a GNU Screen only environment variable.

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.

1 participant