Was this an ok response?

I said thank you because I am thankful he said something. Was that an acceptable response from me?