madtty: backfill text from the buffer when a window with more rows is resized