micro icon indicating copy to clipboard operation
micro copied to clipboard

Keybinding CtrlSpace appears to be broken on Windows

Open dev-nicolaos opened this issue 1 year ago • 3 comments

Steps to Reproduce

  • Create a keybinding for CtrlSpace in bindings.json
  • Open a file in micro (in the environment specified below)
  • Open raw mode from the command bar
  • Press CtrlSpace
  • Observe that the expected characters are registered by micro
  • Exit raw mode (Ctrl-q)
  • Press CtrlSpace

Expected Result

The action bound to CtrlSpace in binding.json is executed.

Observed Result

A space is added to the open file at the cursor's location.

Environment

Commit hash: 68d88b57 OS: Windows 10 Terminal: Windows Terminal Shell: Powershell 7.4.2

Notes

I've tested these same steps in Kitty on Fedora 40 and this issue isn't present in that environment. I also tested multiple actions to make sure it was the binding and not the action.

dev-nicolaos avatar Jul 11 '24 08:07 dev-nicolaos

So this might be Windows specific... @JoeKar could you take a look?

dmaluka avatar Sep 11 '24 15:09 dmaluka

Since the issue was created with 2.0.13 I can imagine that it is already solved with #3337 in 2.0.14.

@dev-nicolaos can you please test the same scenario with our new 2.0.14?

When I find some more time I can do this as well, but maybe @dev-nicolaos is faster. :wink:

JoeKar avatar Sep 11 '24 20:09 JoeKar

Unfortunately, I still get the buggy behavior with v2.0.14 on Windows

dev-nicolaos avatar Sep 11 '24 23:09 dev-nicolaos