@cracker64 It reverts back to the last interaction you made inside the window.
i.e. you erase/draw something and then light it on fire or something, then press Ctrl Z, you go back to when the fire was created.
you cannot press click the Ctrl Z again, that will just reset again to when you made the fire or something, except you're just going back and back again to the same thing.