How to say thank you to the person who corrected your writing

The program isn’t set up with a click to say thank you. How do people thank others for correcting their writing?
I’m a relative newbie.
Thanks in advance for taking time to explain!

I think the best thing to do is go to their wall and post something there (public or private).