Conversation
|
Oh my... I'm so sorry this has sat here so long. 🤦♂️ I don't know how I missed this. I don't use screen, so a few questions here:
Thanks! |
No worries, I have been using my fork, this PR was to give other screen users an option to hopefully get it working for them too. I didn't want to enable it by default, it could potentially break for other users that do not use screen. I always think it's better to opt-in than opt-out. Regarding TERM vs STY, my research at the time indicated that TERM is much more susceptible to user changes when screen is used. I'm aware that there are no guarantees that STY always work, but it was according to me the best alternative out of the two at the time. I have no hard feelings if you close this PR. I'm slowly migrating to neovim and do not use this plugin there. |
This is a PR to support GNU Screen
How it works is when you are within a screen session the
STYenvironment variable is set and is detected by theplugin when the
togglecursor_enable_gnu_screen_escapingis set.If you exit screen,
STYwill 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
STYis supposed to be a GNU Screen only environment variable.