Fixes reporting of terminal dimensions.

The tester line inserted by updateTerminalSize didn't include
class='line' on the pre element which caused it to get a bad line height
and to underreport the size of the terminal.