First terminal resize test with pyte

prepare_terminal doesn't work with prepopulating history yet