Expand the console at the right moment.