Terminal resize issue with Intellij and Git for Windows SDK - mingw-w64

I am on Windows running Intellij and Git for Windows SDK for a feature rich terminal on Windows (pacman, oh my zsh, etc...)
I looked up previously on which command to use to make it the default Intellij Terminal and SO delivered:
How can I launch git-for-windows SDK's git-bash in Windows Terminal?
I am using the cmd from above's 2nd post:
C:\git-sdk-64\msys2_shell.cmd -defterm -here -no-start -mingw64
Everything works fine except for a stubborn resizing issue :
Every time I resize the Intellij Terminal, the MSYS terminal stops receiving key strokes and I have to reopen a new one:
( can't type after the resize under the echo hello )
Trying to avoid WSL for now as I noticed maven builds through wsl were noticeably slower than directly on powershell or via git terminal.
Workaround
Not exactly a solution but if you run with MinGW32, the resize no longer causes the problem
To be seen if I will suffer from other 32/64 bit incompatibilities
using for now:
C:\git-sdk-64\msys2_shell.cmd -defterm -here -no-start -mingw32

Related

problems VsCode integrated terminal

I just installed ubuntu yesterday and I just cant run any file in the output tab of VsCode (its integrated terminal). In other terminals, everything just works fine but I really want to understand, and if Its possible solve, this little problem
I already tried to reinstall both vscode and the coderunner extension. Also, Its important to mention that in some situations, the output that I got was "need to run as root or suid".

visual studio code is not launching in linux even though it is in the path

visual studio code is not launching in linux even though it is in the path
I tried "code ." and expect to open the vscode for the current folder
export DISPLAY=:0 made my day
My Display was not set.It was unset while doing other debugging. reverting it make the window app launch from terminal.
DISPLAY is part of your linux serverx, usually the linux terminal doesn't support launching the window applications from terminal until the display is configured. so it is essential to make sure you have the right config for your DISPLAY arg for your serverx

Cannot change node version in VS Code terminal

I'm working on Mac and I cannot change node version from terminal window in VS Code
What's interesting, when I open iTerm I have no problems with switching versions. So the problem only seems to appear on VS Code.
Any idea why and how to solve it?
vscode has a shell integration, which you can configure. e.g. placing the following configuration in your vscode settings
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe"
or you can use the shell launcher plugin, which supports launch multiple shell configurations in the terminal.

NodeJs terminal configuration in VScode

How do I configure details of nodeJS terminal? ( using- windows 10 & VScode )
Its bothers me that when I type commands in split screen mode, the line gets split up because it ran out of space. If possible, id like the terminal to display:
$
when awaiting commands.
please use the remote wsl extension for windows subsystem for linux
for ubuntu terminal in vs code use extension Ubuntu pastebin for vs code

How to start windows program from WSL Ubuntu Xterm in foreground (on top of all other programs)?

I use git and invoke git difftool command from Xterm (that Xterm "runs" WSL shell). My difftool command is set up to start p4merge Windows application.
Everything works alright, but p4merge's window is displayed under all currently visible windows. Specifically, under the Xterm window that started it.
This drives me a bit nuts because if I need to diff 20 files, then I need to Alt+Tab 20 times manually.
I've just migrated from Cygwin to WSL and this exact setup started p4merge on top of all other windows in Cygwin.
So, how do I make WSL start a program and make sure that its window is topmost?

Resources