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.
Questions tagged [windows-terminal]
226 questions
8
votes
3 answers
Windows Terminal: run CLI command on start up
I was recently interested by new Windows Terminal, so after testing it a bit, I wanted to have one profile which will instantly start development environment of my gatsby website. So I created another profile with config as follows:
"guid": "given…
mtk
- 81
7
votes
1 answer
Increase buffer size in the new Windows Terminal
The default buffer size in the new Windows terminal (https://github.com/microsoft/terminal) is too small and quickly gets full when reading a large file. I could not find a way to increase it.
In the old Windows terminal, one could change the buffer…
diaa
- 173
4
votes
2 answers
Windows 11 - How to Run Windows Terminal as Administrator from Taskbar Icon By Default
I have Windows 11 Pro (21H2). I have Windows Terminal icon in the Taskbar. I always have to right-click on it, and click Run-As-Administrator. I'd rather have it run as Administrator by default. I can create a shortcut on my Desktop, and set it to…
Steve Kennedy
- 141
3
votes
0 answers
How to send Ctrl-C kill signal in Windows Terminal?
In the terminal I've been using for years (ConEmu), I am able to stop the currently running command with Ctrl-C.
This does not work with the Windows Terminal running PowerShell. Once I start a continuous command (like ping -t 8.8.8, which I use…
PortMan
- 210
3
votes
1 answer
Run 2 commands when starting windows terminal
What I want to do is connect to my VPN via rasdial and ssh into my machine when I open a Windows Terminal window, but I can't figure out how to do both on startup.
I created a new profile, but in the 'commandline' section I can't run more than one…
3
votes
1 answer
Windows Terminal keybindings commands list
There is a new Windows Terminal out there and I want to configure a few key bindings in it like so:
"keybindings":
[
...
{
"command": "",
"keys": [""]
}
...
]
This procedure is described on Custom…
a_girl
- 286
- 1
- 14
3
votes
1 answer
Can I set Windows Terminal to open command windows from "start" in a new tab?
Note: This is a question about Windows Terminal, a new command-line shell as of 2019, not Windows Command Prompt command line shell that is included with Windows.
If I am running cmd.exe in Windows Terminal, and I run start cmd, it opens a new…
Patrick Szalapski
- 241
- 1
- 7
- 22
2
votes
2 answers
Windows Terminal: How to add command line arguments to the "Open in Windows Terminal" context menu?
I would like to use the "Open in Windows Terminal" context menu installed together with Windows Terminal, but with some command line arguments in it.
Specifically, I would like to add the argument -w 0, which opens the terminal in the same window…
Diogo
- 123
- 5
2
votes
1 answer
Selectively remove command history of Windows Terminal
I would like to selectively remove some of the history in Windows Terminal. History refers to the past commands typed into the Windows Terminal.
How can this be done?
I'm using Windows 10, Windows Terminal 1.8.1521.
curious
- 443
2
votes
0 answers
Windows Terminal - display background image across split panes
When using Windows Terminal and splitting the window panes it currently duplicates my custom background image between the two panes. Is there a way to have the background image encompass the entire two panes instead of being encapsulated separately…
Leftover Salad
- 231
2
votes
1 answer
Can I position the current line in the Windows Terminal a few lines off the bottom of the screen?
On Windows 10 using the Windows Terminal (v1.6). Is there a setting to add a few lines of "margin" to the terminal window so it's not continually glued to the bottom of the viewport? I use terminal in full screen and it's not convenient to change to…
xtian
- 995
2
votes
1 answer
How to disable mouse interactions in Windows Terminal
Windows Terminal has a strange relationship with the mouse that I don't understand, and that I want to disable:
right-clicking to paste text will instead copy garbled characters in the command prompt
in vim rather than pasting it will switch me to…
quant
- 484
- 3
- 10
- 33
1
vote
2 answers
What does Windows Terminal's state.json file do?
I have a couple scripts that rewrite my windows terminal settings.json file from a template.
While fixing a bug I noticed another file, state.json. But I can't find any documentation for it. Here's my redacted version:
{
"dismissedMessages" :
…
xdhmoore
- 675
1
vote
1 answer
Start WSL in C:\Users\ via Microsoft Terminal
As above, I want to by default open Ubuntu 22.04.1 (in WSL) through Microsoft Terminal in my Windows home directory C:\Users\\.
I've tried entering the default path as C:\\Users\\\ and as /mnt/C/Users/\, as well as editing the…
user36196
- 123
1
vote
1 answer
Broken oh-my-posh on Windows Terminal
I'm using Windows Terminal (Preview) with oh-my-posh. But when I start my terminal up, the screen is broken as hell.
Any suggestions?
Tran1903
- 43