Comments (3)
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Closed similar issues:
- Feature Request (default type tab) (#1922), similarity score: 0.80
- Open a new tab when I run wt (#7818), similarity score: 0.80
- How to make "Open in Windows Terminal" open new tab in the existing Windows Terminal window rather than a new window? (#7991), similarity score: 0.80
- Contextual menu Open with Windows Terminal should open in a new tab (#11560), similarity score: 0.79
- Open new tab elevated in same window with other tabs not elevated (#4014), similarity score: 0.78
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from terminal.
Okay I'm gonna try and read between the lines here:
- your default profile is PowerShell 7
- You've set your PowerShell 7 profile to
"elevate": true
(in the settings UI, this is "Run this profile as administrator") - you open the Terminal (unelevated) and run CMD
- From that unelevated window, you open a new tab.
- That uses the default profile, PowerShell 7
- That opens a new, elevated window
Is that about right? Elevated and unelevated tabs can't coexist in the same Terminal window (as of writing, circa <=1.21). Either all the tabs are unelevated, or all are elevated.
Now, with the upcoming Windows 11 release with Sudo for Windows, you could probably change your default profile from pwsh.exe
and elevate:true
to just sudo.exe pwsh.exe
, and then just run the Terminal unelevated all the time.
Overall, I'd recommend against having your default profile be elevate:true
. There's kinda a lot of awkward edge cases with the default profile always wanting to run in an elevated window - this is just one of them
from terminal.
Ah you're right, I was running CMD unelevated, I had them all set to open in admin so thought I was running all of them elevated. Changing them back to unelevated works as I want it to.
Thanks
from terminal.
Related Issues (20)
- Cursor invalidation failing when line renditions are used HOT 2
- Unlimited zoom-in using Ctrl+Wheel causes renderer to crash HOT 3
- Double wide nerd font glyphs are rendered incorrectly in 1.21 HOT 8
- Cloud shell console loses prompt location HOT 3
- Error trying to use double quotes with git commit -m HOT 2
- PS 7 prompt does not render properly with shell integration profile code HOT 4
- Cursor movement is not always detected on double-width lines HOT 1
- ssh to linux mint pc, bash prompt blinks a line below HOT 5
- Restart-connection on an active terminal does not terminate original process
- curse word in code HOT 2
- Add `Reload/Restart` Action - i.e. vscode's `Reload Window` HOT 5
- Json Fragment Actions do not load `keys` binding HOT 2
- The suggestions UI is populated with trailing spaces when `useCommandline: true`
- Mouse-Friendly UI in Quake Mode HOT 3
- The suggestions UI counts the current command as one of the recent commands HOT 1
- Focus should move to next tab when closing a tab HOT 2
- Terminal Canary crashes when i merge a tab to another window HOT 7
- Accelerating Terminal rendering with D3D12 mesh shaders HOT 9
- Typing ESC in GitBash/Git4Windows temporarily freezes keyboard input in that Windows Terminal tab (except for CTRL-C), Windows 10 HOT 2
- Version: 1.20.10572.0 reopens last tabs whenever it feels like it HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terminal.