gdamore/tcell

some special keys do not work on Windows console

Closed this issue · 2 comments

I was trying out gemacs on Windows which uses tcell. I noticed that some key bindings do not works (such as C-<space> and C-x C-v) and this is probably because these keys (like C-v) have special meaning and are not handled "raw" by tcell in the Windows console.
Is this a known problem and is there a known way how that can be fixed?

The problem is likely indeed that the Windows terminal has grabbed those key sequences. I don't know if there is a way to prevent that -- I have some ideas but I have not yet coded them up. (Essentially we might be able to tell the terminal to go into raw keyboard reporting mode, and that might avoid this capture.)

I think this is not something I can control. Each terminal application controls the special keys that it handles locally and does not pass through. I don't have any control over that.