randy3k / Terminus

Bring a real terminal to Sublime Text
https://packagecontrol.io/packages/Terminus
MIT License
1.38k stars 84 forks source link

[Feature Request] Send code to external terminal app, such as Mac terminal or iTerm. #291

Closed arshappleid closed 3 years ago

arshappleid commented 3 years ago

Do you think it is possible to run the code in an external terminal app such as Mac terminal or iTerm, using the sublime settings.

Like on build, If the app(Terminal or iTerm) is not open, it opens it , and shows the output in there.

randy3k commented 3 years ago

It is certainly possible but however it is out of the scope of Terminus. If you are using Windows, you could checkout this video: https://www.youtube.com/watch?v=O5conj8RqyE A similar approach is applicable to macOS and Linux.

arshappleid commented 3 years ago

I tried the above version of the video for Mac, but I cannot seem to find an AppleScript , that tells Mac terminal to open the , and execute a valid shell command.

Do you think you can make something with terminal that it opens as an external window of sublime, and I can set it aside, on my desktop , and it shows the output there.

Being able to use terminus for this will be great.

randy3k commented 3 years ago

I am confused. Why do you need Terminus while using macOS Terminal?

Afrowave commented 3 years ago

Hey @arshapplied,

This is a Sublime Text issue. Here is the answer you were given on the Sublime Text Forum.

Would you like some help in doing it?