- introduce minimal terminal size to work with strange terminals (bnc #668667, bnc #827678)