add keepCursor functionality to wipe