Skip to content

Ctrl + I and Tab #267

@TobiasWallner

Description

@TobiasWallner

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions