Questions tagged [windows-terminal]
Windows Terminal is a terminal emulator for Windows 10 written by Microsoft. Windows Terminal is a new, modern, feature-rich, productive terminal application for command-line users. It includes support for tabs, rich text, globalization, configurability, theming & styling, and more.
241
questions
1
vote
2
answers
98
views
Way to force open powershell in cmd or start Windows Terminal with no tabs
I'm starting a new commandline tool from a script that requires user input. To minimize user errors and have a cleaner interface I don't want the new terminal to open in a tab, preferably just in old ...
0
votes
0
answers
22
views
Win11 two taskbar icons for two different Terminal applications?
In Win10, I pinned two different command-line applications to the Taskbar as my first and second applications. That let me launch them and switch to them with Win+1 and Win+2. Great!
In Win11, these ...
0
votes
1
answer
27
views
Windows 11 - How to open a Terminal with Admin privilege from current folder in File Explorer?
In Windows 10 (I think?) I could launch a Terminal/Powershell from File Explorer with or without admin privilege. I can't find that option for Windows 11 anymore. Is it still possible?
1
vote
0
answers
34
views
Set background colour in Windows Terminal, with git bash ANSI escape OSC 11 doesn't work
How do I get git bash to set terminal background colour using OSC Ansi Escape sequences?
printf %b '\e]11;rgb:30/00/00\a'
It works when I do it from WSL bash and for some servers when I ssh to them ...
0
votes
1
answer
37
views
Windows Terminal, Command Prompt, and PowerShell cannot change directory to or start in a folder with Asian characters
I'm on Windows 10.
I have this problem where I'm unable to start the terminal (which I set up to start with Powershell), or changing directory to this folder:
D:\Scanlation\神作家・紫式部のありえない日々\Upscaled\[...
0
votes
1
answer
38
views
How to emulate Powershell keyboard text selection with WSL in Windows Terminal?
I'm new to using WSL and Windows Terminal. I'm running the default Ubuntu install in Windows 11 and I'm looking for a way to have keyboard text selection behave the same way it does when running ...
1
vote
0
answers
31
views
Are Pause and Ctrl+S different in Windows Terminal & Console Host?
I know that Windows terminal applications have changed over time when looking at how they allow users to make the terminal pause accepting output.
Ctrl+S (XOFF) and Ctrl+Q (XON) used to work, then ...
1
vote
1
answer
49
views
Powershell Warning before closing a single tab
In PowerShell (Windows 11 - Microsoft Windows [Version 10.0.22621.3593]) there is an option to set a warning when closing multiple tabs:
"Do you want to close all the tabs?"
Is there a way ...
0
votes
1
answer
37
views
Windows Terminal: repeated key-mappings do not work properly
I'm using Windows 10. In Windows Terminal, I want to map the Ctrl-_ (control-underscore) to null in order for it to have no function.
In the "actions" section of my Windows Terminal settings....
2
votes
1
answer
194
views
Windows Terminal automatic switch dark/light theme based on Windows settings
I want Windows Terminal to switch theme automatically depending on Windows 10 settings.
This guide says that: "...configure the Terminal to use separate themes for light and dark mode in the OS ...
0
votes
2
answers
199
views
Open WSL by Default in a command-line shell
Unfortunately the insoluble problem of jerky scrolling, un-smooth scrolling has left me with no choice but to ditch Ubuntu and go back to Windows. However, I've absolutely fallen in love with the ...
1
vote
1
answer
158
views
Run Multiple Commands As Admin From PS1 File ( Windows Terminal)
This PS1 File (test.ps1), while executed, will run The Commands Pushd $Home; bcdedit /enum bootmgr; pause As Admin in PWSH.exe its self.
# test.ps1
$AL = "-NoProfile -WindowStyle Maximized -...
0
votes
3
answers
285
views
How do I jump to the beginning of a command in Windows Terminal?
In Linux, I can skip to the beginning of a command by pressing Ctrl-A , and Ctrl-E for jumping to the end of that. However, it is not compatible with Windows Termianl. How am I going to do that? ...
-2
votes
1
answer
129
views
Faster Way To Getting Administrator Privileges Within Windows Terminal
As far as I know, the easiest way to get administrator privileges from batch Script is by calling PowerShell.
@echo off
fltmc.exe >nul || (PowerShell.exe start -verb runas wt.exe '%~0'& exit /b)...
0
votes
1
answer
107
views
How to open the CMD or the PowerShell in the Windows terminal when you open them as Admin?
I noticed that when I open the CMD or the PowerShell in non-admin mode, it always opens in the terminal; however, when I open the CMD or the PowerShell as admin, it always opens the old window. Indeed,...