jcartledge / sublime-worksheet

An inline REPL for JavaScript, PHP, Ruby & more in Sublime Text 2 and 3
MIT License
332 stars 18 forks source link

Not ignoring first line of stdout if input was empty line. Fixes #26 #30

Closed rrader closed 11 years ago

rrader commented 11 years ago

For single line code REPL returns output instantly, but for multiline code additional line is needed, and return of this new line does not contains this empty line, so first line of result is useful data. Hence, we don't need to ignore this first line.

jcartledge commented 11 years ago

Thanks. Does the bug this addresses only exist for Python? How does it affect other interpreters?

rrader commented 11 years ago

I have no ability to check, sorry