Absolute path to image needs backslashes escaped (not mentioned in docs) #2715

Closed
opened 2026-01-30 23:03:01 +00:00 by claunia · 2 comments
Owner

Originally created by @intel352 on GitHub (Jul 11, 2019).

Doc: https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md

When I followed this doc, at the bottom of the page it mentions that a typical Windows-style path to an image can be used in the JSON settings. That is only partly correct. I found if the backslashes \ weren't double-escaped \\, then the JSON failed to validate.

That's fine, it's JSON behavior, but this should be noted in the docs.

Originally created by @intel352 on GitHub (Jul 11, 2019). Doc: https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md When I followed this doc, at the bottom of the page it mentions that a typical Windows-style path to an image can be used in the JSON settings. That is only partly correct. I found if the backslashes `\` weren't double-escaped `\\`, then the JSON failed to validate. That's fine, it's JSON behavior, but this should be noted in the docs.
Author
Owner

@DHowett-MSFT commented on GitHub (Jul 11, 2019):

We're happy to accept contributions that improve our docs! Thanks for the report.

@DHowett-MSFT commented on GitHub (Jul 11, 2019): We're happy to accept contributions that improve our docs! Thanks for the report.
Author
Owner

@DHowett-MSFT commented on GitHub (Feb 3, 2020):

It looks like this is actually in the docs now.

@DHowett-MSFT commented on GitHub (Feb 3, 2020): It looks like this is actually in the docs now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2715