I was actually using macosx/Terminal myself when trying your sample code, and it looked okay to me. I suppose sometimes if you are using the "more" or "less" pager and resizing the window, things can end up getting a little messy, but there's nothing in the example per se that would cause Terminal to drop or hide characters.