Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.57k stars 573 forks source link

When pressed the Win key and PowerShell console is open, ConEmu print always `^@` #1843

Open DoCode opened 5 years ago

DoCode commented 5 years ago

Versions

ConEmu build: 190303 x32 OS version: Windows 10 1809 x32/x64 Used shell version: PowerShell (Core)

Problem description

When a PowerShell (Core and Classic) are opened and a shortcut or only the Win key is pressed it would handle, but ConEmu writes out this on the PowerShell console: ^@

Steps to reproduce

  1. Open ConEmu and a PowerShell console
  2. Press the Win key

Actual results

The Windows menu is opened and ConEmu prints ^@ to the console.

Expected results

Only the Windows menu should be opened.

Maximus5 commented 5 years ago

I don't observe that. To be sure, run this:

conemu64.exe -basic -run {PowerShell Core}

And press Win or WinQ key. In my tests - no garbage in pwsh prompt.

That should be either third-party software or old Windows 10 build. I'm now on Win 10 1903.

DoCode commented 5 years ago

@Maximus5 very very strange. I have this only on PS and PSCore. And I tested this with your command:

conemu64.exe -basic -run {PowerShell Core}
Maximus5 commented 5 years ago
conemu64.exe -basic -run powershell.exe -noprofile
DoCode commented 5 years ago

Very, very strange, look, please. With the latest version: 2019-03-11-00-58-56_1_6