handle partial terminal buffer updates