cpp-terminal icon indicating copy to clipboard operation
cpp-terminal copied to clipboard

Ctrl + I and Tab

Open TobiasWallner opened this issue 1 year ago • 6 comments

In my editor I wanted to use the key combinations Ctrl + J/I/L/K to move the cursor left/up/right/down. Kind of like WASD in computer games but with the other hand.

I noticed that when pressing the TAB key, Ctrl + I will be sent to the terminal instead.

Is this a bug? I am not sure, because in some forums I read that those two are sometimes mapped over ontop of each other. I really want to be able to use Ctrl + I and TAB.

-------- from this point on I start to get ahead of my own question -------

Furthermore I would also like to be able to detect Ctrl + Shift + S or even Ctrl + Shift + Alt + O, or other arbitrary key kombinations. As I understand the current state of cpp-terminal, this is not possible, right - telll me if I am wrong?

I don't know about linux, but for windows I found: GetAsyncKeyState

And kind of started to write my own Keyboard-Scanner that can differentiate between TAB and Ctrl + I. Before, I spend any more time developing in this direction I wanted to ask you, if you have already considered something like this in the past? or are developing on this? or did and found that it does not work or that there does not exist an equivalent for linux or other target platforms? Or too much complexity and lack of testing capacity with different keybord layouts and languages? Or anything else I cannot think of right now?

TobiasWallner avatar Jun 27 '23 20:06 TobiasWallner