fix return type of size(t::TTYTerminal)

for consistency with other platforms