Since Windows Terminal is currently performing poorly in copying and pasting, I think OpenConsole is my better choice.
However, if you do not run it from OpenConsole, Windows will append the default console host (C:\Windows\System32\conhost.exe) to all console applications.
Then Microsoft said that the source code of OpenConsole comes from conhost.exe, then can we replace conhost.exe directly with OpenConsole.exe? This way we get a better default console host.
I tried it and it works well. Although OpenConsole is packaged as a UWP application, OpenConsole.exe is actually a normal Win32 window program that can be run by double-clicking its exe. You can find it from terminal\bin\x64\Release\OpenConsole.exe if you done a x64 release build.
Then, go to C:\Windows\System32, right-click conhost.exe, "Properties", and edit the permission list to give the current user the "Full Control" permission.
Then, rename conhost.exe to conhost-old.exe and copy OpenConsole.exe to here and rename it to conhost.exe.
Open any console application (powershell, wsl, ...) and enjoy your new console.
Since Windows Terminal is currently performing poorly in copying and pasting, I think OpenConsole is my better choice.
However, if you do not run it from OpenConsole, Windows will append the default console host (
C:\Windows\System32\conhost.exe) to all console applications.Then Microsoft said that the source code of OpenConsole comes from conhost.exe, then can we replace conhost.exe directly with OpenConsole.exe? This way we get a better default console host.
I tried it and it works well. Although OpenConsole is packaged as a UWP application, OpenConsole.exe is actually a normal Win32 window program that can be run by double-clicking its exe. You can find it from
terminal\bin\x64\Release\OpenConsole.exeif you done a x64 release build.Then, go to
C:\Windows\System32, right-clickconhost.exe, "Properties", and edit the permission list to give the current user the "Full Control" permission.Then, rename
conhost.exetoconhost-old.exeand copyOpenConsole.exeto here and rename it toconhost.exe.Open any console application (powershell, wsl, ...) and enjoy your new console.