Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendCode with new Windows Terminal #133

Open
musm opened this issue Apr 26, 2020 · 13 comments
Open

SendCode with new Windows Terminal #133

musm opened this issue Apr 26, 2020 · 13 comments

Comments

@musm
Copy link

musm commented Apr 26, 2020

How can I setup SendCode to work with the new Windows Terminal? Could we support this configuration.

@randy3k
Copy link
Owner

randy3k commented Apr 26, 2020

What is the new Windows Terminal?

@musm
Copy link
Author

musm commented May 1, 2020

Do you know if its' possible? I switched from ConEmu to Windows Terminal and deeply miss using SendCode

@randy3k
Copy link
Owner

randy3k commented May 1, 2020

I did some researches and found no way to send things to the new terminal.

@musm
Copy link
Author

musm commented May 1, 2020

Do you think you could open an issue at https://github.com/Microsoft/Terminal/issues ? They have been pretty responsive and active.

@musm
Copy link
Author

musm commented May 12, 2020

In particular, what's the API needed to accomplish this change.

@randy3k
Copy link
Owner

randy3k commented May 12, 2020

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

  1. a way to send text to the terminal
  2. bracketed paste mode.

@musm
Copy link
Author

musm commented May 13, 2020

I opened an issue microsoft/terminal#5873

@musm
Copy link
Author

musm commented May 18, 2020

For reference microsoft/terminal#3799

@rsdrahat
Copy link

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.

@randy3k
Copy link
Owner

randy3k commented Sep 22, 2020

It seems that we still need a way to trigger the action programmatically.

@musm
Copy link
Author

musm commented Sep 22, 2020

microsoft/terminal#7249 (comment)

Does that help at all?

@DHowett
Copy link

DHowett commented Sep 22, 2020

No, it does not. sendInput is for Terminal generating input into a client application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants