From: Ed Howland Date: 2010-10-11T07:24:55+09:00 Subject: Re: Highline and Termios issues Thanks James. Cheers, Ed Ed Howland http://greenprogrammer.wordpress.com http://twitter.com/ed_howland On Sun, Oct 10, 2010 at 4:22 PM, James Edward Gray II wrote: > On Oct 10, 2010, at 3:11 PM, Ed Howland wrote: > >> I have question re: Highline. In this code fragment, when running on MacOS/X: >> >>        agree("overwite #{path}? y/<%= color('N', BOLD) %>", true) >> {|q| q.default = false} >> >> ... The prompt is followed by a newline in irb/ruby. I can't see an >> option in the docs to change this behavior. > > You just want to take the answer on the same line?  Add some space after the prompt (at the end of your bold N) and HighLine should do the right thing for you. > > Hope that helps. > > James Edward Gray II >