locked
Sending arrow keys using SendKeys does not work on Windows Terminal RRS feed

  • Question

  • I am trying to write a program for coding-by-voice for coders with RSI problems. It uses SendKeys.SendWait() to emulate the keyboard. It works pretty well on most applications, but the new Windows Terminal will not recognize arrow keys sent by it. This is a huge bummer because Windows Terminal is pretty cool and I was planning on setting up a configuration that would allow my program to integrate with it easily. 

    So is there a solution for this? Is there anyway I can use SendKeys with Windows Terminal and not have to sacrifice use of the arrow keys?

    Monday, October 5, 2020 11:24 PM

All replies

  • Hi agiledart,

    Thank you for posting here.

    I have used various methods suitable for cmd.exe to try to send keystrokes to Windows Terminal (WT), but I have not succeeded until now.

    I am not familiar with WT, so I am not sure if WT still does not support these operations, or I am using the wrong way.

    Maybe you can try asking if there are any good suggestions in WT's GitHub repository.

    Best Regards,

    Timon


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, October 6, 2020 3:36 AM
  • Thank you for the thoughtful reply Timon. I will make sure to ask on the WT GitHub repo.
    Wednesday, October 7, 2020 12:23 AM