exo
exo copied to clipboard
[FEATURE] Pseudo Terminal (PTY)
Today, we do not provide a pseudo terminal (PTY) to programs. A lot of programs detect the presence of a PTY/TTY in order to automatically enable/disable colors or similar. Also, some programs do interactive UI and the like.
https://evilmartians.com/chronicles/introducing-overmind-and-hivemind discusses this in more detail.
Besides PTY detection for colors, a key use case for emulating a terminal is to allow interactive debugging. For example, in Ruby, using something like binding.pry to open an irb prompt.
cc @finnigantime