Fix terminal_size to work with jline2

Looks like some method names changed.

Hopefully I didn't break stuff this time :(