You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new (advanced) profile setting, pathTranslationStyle (#18195)
`pathTranslationStyle` has four options:
- `none`: Do no translation
- `wsl`: Translate `C:\` to `/mnt/c` and `\\wsl$\Foo\bar` to `/bar`
- `cygwin`: Translate `C:\` to `/cygdrive/c`
- `msys2`: Translate `C:\` to `/c`
It is intended as a broadly-supported replacement for us checking the
source every time the user drops a path.
We no longer need to push the source name all the way down to the
control.
I am hesitant to commit to using other folks' product names in our
settings model,
however, these are almost certainly more recognizable than whatever
other weird
names we could come up with.
The Git Bash fragment extension profile could conceivably use
`pathTranslationStyle`
`msys2` to make sure drag/dropped paths look right.
Copy file name to clipboardexpand all lines: doc/cascadia/profiles.schema.json
+11
Original file line number
Diff line number
Diff line change
@@ -3095,6 +3095,17 @@
3095
3095
"default": false,
3096
3096
"description": "When set to true, the window will have an acrylic material background. When set to false, the window will have a plain, untextured background.",
3097
3097
"type": "boolean"
3098
+
},
3099
+
"pathTranslationStyle": {
3100
+
"default": "none",
3101
+
"description": "Controls how file paths are transformed when they are dragged and dropped on the terminal. Possible values are \"none\", \"wsl\", \"cygwin\" and \"msys2\".",
Copy file name to clipboardexpand all lines: src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw
+28
Original file line number
Diff line number
Diff line change
@@ -1961,6 +1961,34 @@
1961
1961
<value>Display a shield in the title bar when Windows Terminal is running as Administrator</value>
1962
1962
<comment>Header for a control to toggle displaying a shield in the title bar of the app. "Admin" refers to elevated sessions like "run as Admin"</comment>
0 commit comments