microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.4k stars 8.3k forks source link

Mechanism to send code to the active tab of the terminal #5873

Closed musm closed 4 years ago

musm commented 4 years ago

Description of the new feature/enhancement

I'd love to get https://github.com/randy3k/SendCode to be compatible with the new Termal. In order to accomplish this we need a way to:

1 Send code to the active tab of the terminal.

  1. Bracketed paste mode. (https://github.com/microsoft/terminal/issues/395)
zadjii-msft commented 4 years ago

By any chance, is #3799 what you're looking for here?

musm commented 4 years ago

I don't believe that covers what is required here

DHowett-MSFT commented 4 years ago

I mean, this should absolutely be possible through clipboard stuffing and key binding stuffing today. I'm not sure how we can make this easier as there isn't really an IPC mechanism available to us that'll make SendCode's life easier.