compat: only clear cells when scrolling to add text

and to delete lines, but not when just moving the cursor