-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
add wezterm detection/differentiation #1759
Comments
The versioning scheme is based on the date of the commit + the commit hash, so you could check to see if you got In addition to the environment, |
re: terminfo, we do have a |
FWIW, wezterm can also be running with If you're into answerback stuff, I commented above with the sequence and answerback that also returns the wezterm version info. |
(ah I can see that you saw my comment as well--great!) |
yep, that's what'll be going in; i've got a branch rihgt now for DCS-based identification. and actually, as a result of that, i'm seeing:
i can go file a bug if you'd like with the respective queries etc |
Yes please file it! |
confirmed reply to
i'll integrate this into my great shitty state machine in the sky |
The wezterm FAQ explicitly disclaims any independent terminfo database, stating that
xterm-256color
ought be used. OK, that's fine. For advanced features beyond terminfo, however (see e.g. #1715 and #1758), we need be able to differentiate wezterm from the forty thousand other terminals claiming to be xterm.I don't see any way to interrogate wezterm, but according to wez/wezterm#230 we can look for the `TERM_PROGRAM environment variable, and indeed:
alright, i guess we're using that.
The text was updated successfully, but these errors were encountered: