Conversation
```
git diff dev/migrie/f/non-terminal-content-elevation-warning dev/migrie/f/632-on-warning-dialog > ..\632.patch
git apply ..\632.patch --ignore-whitespace --reject
```
To match the arg in #12137. `--elevate` will manually elevate the profile. `--no-elevate` will override a `elevate: true` in the profile with false. So now you can `wt --elevate cmd` and it'll do what you think * [x] I work here * [x] Tests added * [ ] need to update docs
|
@zadjii-msft Curious, what happens when somebody puts |
|
dont merge this quite yet |
If the Terminal isn't already running, and you have a saved layout, then this line right here crashes with a |
|
Okay before I lose it
|
|
Ho boy, this just got interesting. Consider: you'd assume that would spawn two tabs elevated (in the same window), even with glomming turned off. That's not what would happen. We'd spawn one May have to reconsider this entirely. Might have to become a root-level parameter, to affect the entire commandline. E.g. "run this commandline in and elevated |
|
Ah butts okay. I definitely need to turn this into a top-level flag, not a I'm going to just close this for now, and file proper issues for both these to keep me honest. |
To match the arg in #12137.
--elevatewill manually elevate the profile.--no-elevatewill override aelevate: truein the profile with false.So now you can
wt --elevate cmdand it'll do what you think