never going to want this to not be encoded
need to override some stuff in the core pty module

hopefully this can make its way upstream eventually

(pity as in "it's such a pity i had to write this code *again*")
send window size updates