Only some diffs are shown whhen agent makes changes

Before cursor asked me if i want to approve the changes like each line it edited or made it asked me if i want to keep it or not but now it just edits without asking me i cannot find the option to revert this change. I googled about what setting is causing it but i cannot find it, can someone guide me as to where the option is to turn it off?