replit / prybar

Pry open those interpreters.
GNU General Public License v2.0
253 stars 52 forks source link

[nodejs] respect lackof TTYs #72

Closed wbourne0 closed 3 years ago

wbourne0 commented 3 years ago

For anyone who's unfamiliar with the term TTY, its essentially what makes a terminal a terminal (as opposed to a file that's just read/written from/to). Generally speaking, we want TTYs since they're what handle colors and terminal escapes. However for machine-read input/output, we don't want TTYs as we don't want the program we're running to send us escapes (as a result of believing its talking to a TTY).

Ran into two issues with nodejs w/ IO testing.

replbot commented 3 years ago

unbooping: approved