TTY Input Buffer Issue

I've got a strange input buffer issue that seems to exist with a
combination of OSX/Bash/Ruby.

It seems that after suspending a child process of Ruby with SIGTSTP the
first character (or the first line) will get put in the wrong buffer.

Would anyone mind taking a look and seeing if I'm doing or not doing
something stupid?

TIA,

···

--
@zachdennis
http://www.continuousthinking.com