fix(terminal) maxSize