yatli / fvim

Cross platform Neovim front-end UI, built with F# + Avalonia
MIT License
1.34k stars 30 forks source link

Input event with CTRL misbehave on macOS #167

Open Z-Shang opened 4 years ago

Z-Shang commented 4 years ago

OS Version: macOS Catalina 10.15.7 Dotnet Core Version: 3.1.403 NVim Version: 0.4.4

The issue happens when using key combinations with CTRL, e.g. C-l When the key combination is pressed, the input event will not be recognized by FVim unless it is pressed again and in the log, there will only be one input event of the corresponding key combination:

model: grid #1: OnInput: Key (Control, L)
neovim.process: call: 45 -> [0,45,"nvim_input",["<C-l>"]]
model: grid #1: OnInput: Key (Control, L)
yatli commented 4 years ago

Looks like if several ctrl-key combinations are pressed in a row, the first will not come up on the control key press event.

Tested on Windows, X11 and macos, this problem only happens on mac

atishay commented 2 years ago

Any updates on this. It has been more than a year. also need the Cmd key mapping to work.

yatli commented 2 years ago

Follow linked issues please.