[MacRuby] #1255: HighLine Gem - stty: stdin isn't a terminal
MacRuby
ruby-noreply at macosforge.org
Mon Nov 7 05:40:51 PST 2011
#1255: HighLine Gem - stty: stdin isn't a terminal
-------------------------------------+--------------------------------------
Reporter: umairsiddique@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.11
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
Comment(by lastobelus@…):
A workaround until this gets fixed is to do this:
{{{
class HighLine
def raw_no_echo_mode
system "stty raw -echo"
end
def restore_mode
system "stty -raw echo"
end
end
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1255#comment:1>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list