spectre.console icon indicating copy to clipboard operation
spectre.console copied to clipboard

[Compatibility issues] - SelectionPrompt and MultiSectionPrompt are not work on ConEmu

Open SunBrook opened this issue 4 years ago • 9 comments

Information

  • OS: Microsoft Windows [10.0.19042.1237]
  • Terminal: ConEmu

Describe the bug ConEmu display is normal, but I cannot up or down to select option. When I press enter button, i can only choice the first option. By the way, when i try to use to Microsoft's cmd, it's normal.

SunBrook avatar Sep 25 '21 08:09 SunBrook

@SunBrook Why did you close this issue?

patriksvensson avatar Oct 01 '21 08:10 patriksvensson

There are many terminal software on the market. I don't think it's necessary to adapt to each terminal, which will waste a lot of time. I hope you spend most of your time developing new functions and optimizing programs, so I close this issue

SunBrook avatar Oct 01 '21 08:10 SunBrook

I see. But let's keep the issue open. Thanks for reporting.

patriksvensson avatar Oct 01 '21 08:10 patriksvensson

@SunBrook Could you add some more info? I could not reproduce this behavior in either Command Prompt or PowerShell running in ConEmu.

For testing I used the Prompt-example.

nils-a avatar Oct 01 '21 18:10 nils-a

@nils-a I'm sorry I won't have time until October 7. During this time, I have to accompany my family. When I come back, I will use your example to test and return detailed results.Please wait patiently. Thank you.

SunBrook avatar Oct 01 '21 23:10 SunBrook

@nils-a I'm back. I used the Prompt-example, but it's not useful.

System: windows 10 IDE: VS 2019

up down

ConEmu's Settings ConEmu Settings

SunBrook avatar Oct 08 '21 01:10 SunBrook

I can confirm this behavior. Setting ConEmu as the default console as shown above (need to restart the machine, for VS to pick up on this), then running the example out of VS, VS starts a ConEmu and navigation in prompts is not possible.

However, I feel this is not a problem in ConEmu per se. Running the example without VS involved, the problem does not occur.

nils-a avatar Oct 08 '21 19:10 nils-a

We're using Console.ReadKey to detect pressed keys, so feels like this issue has to do with something further down the stack.

patriksvensson avatar Oct 08 '21 19:10 patriksvensson

@nils-a @patriksvensson I compiled a console version of exe and tested it with comemu. It works normally. I think there may be some problems in using vs debugging

SunBrook avatar Oct 09 '21 01:10 SunBrook