Closed o-lim closed 8 years ago
This fixes an error in the way term.isatty is called. If the term module is not present, then term.isatty will trigger an error. So we have to make sure that the call to require 'term' succeeded before using term.
term.isatty
term
require 'term'
This fixes an error in the way
term.isatty
is called. If theterm
module is not present, thenterm.isatty
will trigger an error. So we have to make sure that the call torequire 'term'
succeeded before usingterm
.