Open wnhrt opened 3 years ago
Thanks for the great job to fix #5. :+1: I think I will first separate the existing code into a terminal dependent (→ backend) and independent part to avoid all the if/else blocks and perhaps I can find some solutions to the remaining limitations. Would be great to have arrow key support, since I don't think that everyone is used to vi motions. :blush:
No problem :) I hope this helps to adapt the code for Windows. Separating the code sounds like a very good idea. Looking forward to your implementations.
Regarding arrow support, this is the best I could came up with, without using external dependencies. But still no modifier keys. I tried to implement it with Windows legacy code from kernel32.dll and user32.dll, but had no success.
Heureka! Here are two possible solutions, which both use the Windows API:
any updates on this?
Not yet. I started to work on integrating the changes, but switched to other tasks...
Known issues: