Mark lines as modified in altbuffers erase-in-display implementation.