so yeah, I actually did file a bug, I hope they don't hate me
https://github.com/feuerbach/ansi-terminal/issues/97
I think my method proposed in there will allow detecting any possible terminal size, although if the terminal gets big enough (perhaps moon-sized), it could take some time