Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (14 sloc) 1.29 KB

Build with input

A plugin for sublime text which allows build systems to run scripts that accept input. For instance, with the following file

Push ctrl + b. Without this plugin, you would get an EOFError. Instead, the build output window appears, waiting for input.

To give it input, click on it and push enter. An input box appears.

Upon pushing enter after typing your input, or esc to abort, you're returned back to the build output, ready to give more input.

It is currently not possible for sublime text to show both the input and output window at the same time.

This plugin works by monkey-patching the code of the original file. Often this fails to happen correctly on startup. As a temporary workaround, you can force sublimetext to reload by opening, editing and resaving it.