There will be a video going live on my YouTube channel on Monday that covers this exact thing, but there is an excerpt here that shows the problem you’re having and how to use Terminus to solve it. I would generally recommend Terminus for this it’s a little easier to set up and use than SublimeREPL is (or at least, I think so) and it’s also just handy as a terminal in general. ![]() Use Terminus in your build system it allows you to create an actual interactive terminal directly within Sublime.Use SublimeREPL to run your code in Sublime.Create a build system that first opens a terminal and then runs your program inside of the terminal.So if you run anything that’s in any way interactive, your program will hang waiting forever for input to appear on stdin. ![]() It’s not a setup issue on your end when Sublime launches a build system it captures the output that it generates and sends it to the output panel, but it doesn’t do anything to allow you to send input back to the running program.
0 Comments
Leave a Reply. |