Robert Klemme
4/28/2008 6:00:00 PM
On 28.04.2008 19:43, Roger Pack wrote:
> Has anybody else had this happen to them in irb?
> You run something in irb that outputs to the screen without a terminating \n
> then
> the cursor ends up in weird places.
> If you hit the up arrow it does weird, funky things
> ex: [after running something that threw an exception, then hitting the up arrow]
>
>
> from (irb):11>> Program.create :name => 'BSpment', :program_code =>
> 'BSIT', :is_online =>
> kape_level_id => 6, :school => 3
> ^ the cursor is here.
>
> Also another weirdness: sometimes in irb it 'disallows' you from
> adding input to the end of whatever line you're typing on. [This may
> or may not be associated with hitting ctrl-e to get to the end of the
> line first]. You just can't type. Backspace works, forward typing
> doesn't.
I would assume that this is less an issue of IRB but rather of the
combination terminal you are using and screen library. You did not
mention operating system, Ruby version and terminal type.
Kind regards
robert