Ensure that terminal doesn't get overflowed.