Questions tagged [windows-terminal]

Microsoft's official new terminal app for Windows, released May 2019.

Windows Terminal is the Terminal app for Windows made by Microsoft, released in May 2019. See the Windows Terminal GitHub

348 questions
2
votes
1 answer

Why does this Windows Terminal batch file open an extra tab?

I'm attempting to run all four sites at the same time within a single tab of Windows Terminal using split panes only. I have the following abp tiered MVC/efcore startup batch file: wt -M -d "./src/MyProject.Web" cmd /k "title Website & dotnet watch…
djbyter
  • 763
  • 8
  • 28
2
votes
0 answers

Use Custom terminal for Pyinstaller

It seems Pyinstaller on Windows use cmd.exe alike terminal for the executable outputs. However the CMD is pretty bad at handling Unicode and ANSI commands [like color codes, console tricks] However the Windows terminal does a real great job on it.…
2
votes
1 answer

How are keyboard inputs transmitted through Windows terminal and WSL2

I'm using WSL (WSL2 in fact) for a few days and I'm a bit confuse about keyboard combination redirection and/or interception. I have to say that my favorite tool to edit text is emacs, that use a lot of keyword combinations. My stack is this one…
mgueydan
  • 356
  • 1
  • 13
2
votes
1 answer

Using git through wsl (ubuntu) & windows terminal, how do you change the default branch name to main?

Using git through wsl (ubuntu) & windows terminal, how do you change the default branch name to main? I've already tried: git config --global init.defaultBranch main and the setting "init.defaultbranch=main" is there when I look at: git config…
2
votes
1 answer

Unrendered characters in oh-my-posh prompt

I have just installed oh-my-posh on PowerShell Core 7.1.1 on Windows, and I'm using PowerShell in Windows Terminal. After switching to a git repository, the prompt shows like this: Some characters are shown as boxes which should be triangles and…
Dev-XYS
  • 249
  • 2
  • 5
2
votes
1 answer

How to use Windows Terminal as Debugger console in Visual Studio 2019 for C++ Project

I have Visual C++ project. I Want to run/debug my console app in the new Windows terminal when the play button is clicked. How can I configure this in Visual Studio 2019? The Windows Terminal's path is "C:\Program…
Joma
  • 3,520
  • 1
  • 29
  • 32
2
votes
1 answer

Can't get intellisense working for Windows Terminal settings.json

I am trying to enable intelli-sense when I am editing the settings.json of the Windows Terminal. When this file is open auto-complete mostly does not work. I can seemingly get some suggestions, but it definitely does not include everything in the…
Adam V. Steele
  • 559
  • 4
  • 18
2
votes
1 answer

How to use SSHPass with WSL to autostart & login a session

This might seem a little confusing, but I have a server I want to SSH into but the password is kinda long and complex, I understand for security I shouldn't save my password in plain text but for my convenience, I'm not too worried. Regardless, I'm…
2
votes
1 answer

Windows Terminal and PowerShell - Custom Keyboard Shortcut

I have added in my PowerShell profile functions to set locations as following: function myPath {set-location "D:\SomePath\"} Now when I call it in Windows Terminal with PowerShell the command myPath it redirects to the specific one. With the…
jAdex
  • 472
  • 1
  • 5
  • 15
2
votes
1 answer

How can I open an elevated tab?

As the title says. How can I open up a new elevated tab in the new windows terminal without having to open an entire new window? I had a look at this question. However it only talks about opening up a new elevated window in a comfortable way.
Matthias Güntert
  • 4,013
  • 6
  • 41
  • 89
2
votes
2 answers

Anyone has idea how to beautify windows terminal like this

Anyone has idea how to beautify windows terminal like this? same background, same color combination :)
user584018
  • 10,186
  • 15
  • 74
  • 160
2
votes
0 answers

WSL2 git clone/pull throwing 'fatal: : gnutls_handshake() failed: Error in the pull function.'

Trying to setup dev environment on new work pc. Decided to utilize WSL2 and windows terminal. When in wsl2 i'm trying to clone/pull from git repo and getting the following error: fatal: gnutls_handshake() failed: Error in the pull function I've…
2
votes
3 answers

os.uname() module of python not working in windows but in wsl 2 (ubuntu 20.04)

When I write code in python in WSL2(ubuntu 20.04): >>import os >>os.uname() The output is: posix.uname_result(sysname='Linux', nodename='Saqib-PC', release='4.19.104-microsoft-standard', version='#1 SMP Wed Feb 19 06:37:35 UTC 2020',…
Saqib
  • 39
  • 1
  • 7
2
votes
1 answer

How to change the default encoding to UTF-8 in Windows Terminal App(UWP)

I'm using the files that are encoded with UTF-8 but the default encoding for me is EUC-KR(chcp 949), I want to know the way that adapts the UTF-8 as the default encoding of my terminal(automatically when the terminal starts). I'm using PowerShell…
지윤서
  • 21
  • 1
  • 2
2
votes
1 answer

Windows Terminal Tab shortcuts don't work, Incorrect Type, Expected Object

When I look at the settings.json file, the keys ctrl+shift+NUMBER are supposed to jump to a certain console profile, but they don't see, to work. Looking at it through Visual Studio Code, the error message is 'Incorrect Type. Expected…
Apps 247
  • 553
  • 1
  • 5
  • 20