-
Notifications
You must be signed in to change notification settings - Fork 226
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 Windows Terminal #183
Conversation
- profiles.json to settings.json microsoft/terminal#5199 - Change current profile microsoft/terminal#4852
Nice work! I'm getting the following error when trying to use the adapter however.
Seems like it's forgetting that it should access Like this # update defaults profile
profile = data['profiles']['defaults']
if (path is None):
del profile['backgroundImage']
else:
profile['backgroundImage'] = path |
@sylveon Thank you!
Oh, I didn't know there's Default Profile Settings option. I'll change to set
I'm not sure... but I think it seems to be better to change just the current profile only. I think there are some users who doesn't want to change another profile. |
Changing only the current profile conflicts with the existing behavior of the app when it comes to terminal apps which don't support per-console background customization, like Tilix. |
Okay, I got it. |
@sylveon I updated it. Please check it. Thank you 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Props for adding a migration, didn't even think of that.
Implemented to support Windows Terminal.
Set background image via settings.json
https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md
https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md
Check is Windows Terminal via environment variable
https://github.com/microsoft/terminal/blob/64489b1ec114aca1766a31dd99c6de26a54afbbb/doc/user-docs/index.md#tips-and-tricks