Questions tagged [windows-terminal]
Microsoft's official new terminal app for Windows, released May 2019.
windows-terminal
375
questions
-1
votes
0
answers
92
views
Windows 11 Gray out Maximize & Minimize Button
This is not a duplicate
Related (Working on windows 10, 7):
Disable Maximize Button c++ console application
New Problem:
After reading the coments the new problem seems to get the correct window to ...
0
votes
1
answer
67
views
trouble with calling pwsh through windows terminal command line
This is something I have been struggling with for a few days and each time I think I have adjourned it, it falls apart.
I want to launch a new Windows Terminal window but with two caveats:
The new ...
2
votes
1
answer
38
views
detection of mouse hovering using pdcurses
I am making an implemintation of conway's game of life using c and wanted to make the game highlight the cell the mouse in hovering over but i can't seem to be able to catch mouse movements even ...
0
votes
0
answers
18
views
Pass a command line argument to the new terminal window that is about to be launched?
I am trying to figure out how to launch new terminal window and pass a command line to be executed by the new terminals shell (PowerShell 7)
The following works, a new terminal window, with Pwsh as ...
0
votes
0
answers
17
views
Visual Studio Terminal Error When Connected to Ubuntu 22.04 WSL
I use WSL for development. When I start Visual Studio Code and connect it to an Ubuntu 22.04 WSL instance, I always get this error when launching VS's Terminal:
xargs: unmatched double quote; by ...
4
votes
0
answers
75
views
Reading emojis using WinAPI console functions returns UTF-8 Replacement Character instead
For a project of mine I need to be able to read all possible MBCS UTF-8 codepoints from the Windows console. As it is well known that Windows works internally with wchar_t (UTF-16), I tried an ...
0
votes
1
answer
74
views
How to print an emoji using Java in Windows Terminal?
There are 3 essential elements to the question:
Windows Terminal version 1.20.11381.0 on Windows 11.
Java (I'm on a pretty old version -- Java 21)
Emoji.
Trying it directly shows a question mark:
...
0
votes
0
answers
64
views
Request Elevation From Python Script Via Windows Terminal
Adapted from Request UAC elevation,
I created a Python file getelev.py and put it in PYTHONPATH, so it can be called with command import getelev.
import ctypes, sys, os
shell = ctypes.windll.shell32
...
0
votes
1
answer
64
views
Is there an in-between function or an Alternative to subprocess.Popen and subprocess.Run?
I'm creating a Python terminal on a Windows computer from scratch and I'm trying to sync the error commands and pipe them from either command prompt or Powershell which ever one the code is in. ...
1
vote
0
answers
42
views
Prevents Windows Terminal as Default Terminal Apps Temporarily
I'm running Windows 11 with WT installed and as default terminal app. All scripts will opened in WT.
For some reason, I want to run a ps1 file (from its file >Right-Click> Open with PowerShell) ...
0
votes
1
answer
37
views
How to start cygwin with x11 support in Windows Terminal
I am using Cygwin in Windows Terminal by setting the command line option to D:\cygwin64\Cygwin.bat. It works well but now I need to have X11 support so that I can use X11 forward in ssh command.
I ...
-1
votes
0
answers
42
views
Windows batch: write output of exe and all its subprocesses to a file
I have a Makefile that I want to run. I want to write the output to a file so I can post the error message on StackOverflow.
I run the following command from a windows terminal
mingw32-make > ...
0
votes
0
answers
68
views
Terminal is not opening in visual studio code
The terminal process
"C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" terminated with exit code: -65536.
I am geting only this above message can anyone help me..
I want help ,...
0
votes
1
answer
130
views
How to make visual studio 2022 debug console to use windows terminal
I have the latest:
Windows 11.
Visual studio 2022 preview with all preview settings enabled.
Windows Terminal set as default terminal.
I write a C++ solution that uses NASM to use the console.
The ...
0
votes
0
answers
32
views
Cannot read unicode from stdin from regular PS and CMD windows
--test.lua
local s = io.read()
for i=1, utf8.len(s) do
local cp = utf8.codepoint(s,i)
print(cp)
print(utf8.char(cp))
end
Run in a PowerShell terminal through the Terminal app:
C:\>chcp ...