[MacRuby] #1255: HighLine Gem - stty: stdin isn't a terminal

MacRuby ruby-noreply at macosforge.org
Mon Nov 7 16:36:48 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@…):

 macirb session illustrating the second bug:


 {{{
 lasto:~$ macirb
 irb(main):001:0> require 'highline'
 => true
 irb(main):002:0> h = HighLine.new
 => #<HighLine:0x2002d1c20 @input=#<IO:<STDIN>> @output=#<IO:<STDOUT>>
 @wrap_at=nil @page_at=nil @question=nil @answer=nil @menu=nil @header=nil
 @prompt=nil @gather=nil @answers=nil @key=nil>
 irb(main):003:0> p = h.ask("type 'bob': ")
 type 'bob': bob
 => "ob"
 irb(main):004:0>

 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1255#comment:4>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list