SendCode
SendCode copied to clipboard
SendCode with new Windows Terminal
How can I setup SendCode to work with the new Windows Terminal? Could we support this configuration.
What is the new Windows Terminal?
https://github.com/Microsoft/Terminal
https://www.microsoft.com/en-us/p/windows-terminal-preview/9n0dx20hk701?activetab=pivot:overviewtab
Do you know if its' possible? I switched from ConEmu to Windows Terminal and deeply miss using SendCode
I did some researches and found no way to send things to the new terminal.
Do you think you could open an issue at https://github.com/Microsoft/Terminal/issues ? They have been pretty responsive and active.
In particular, what's the API needed to accomplish this change.
We basically need a way to send code to the active tab of the terminal. And if I recall correctly, Terminal doesn't support bracketed paste mode, which will make a lot of things broken.
So in order to make it work, in short, we need
- a way to send text to the terminal
- bracketed paste mode.
I opened an issue https://github.com/microsoft/terminal/issues/5873
For reference https://github.com/microsoft/terminal/issues/3799
It appears as though this has been implemented recently, see the "sendInput" feature here: https://github.com/microsoft/terminal/releases/tag/v1.3.2382.0.
It seems that we still need a way to trigger the action programmatically.
https://github.com/microsoft/terminal/pull/7249#issuecomment-696844814
Does that help at all?
No, it does not. sendInput
is for Terminal generating input into a client application.