I would like to propose adding a clang-query command called 'quit' that terminates the clang-query interactive session. While Ctrl+C works well enough to terminate the application, it's not particularly discoverable, and it runs into an interesting conflict on Windows 10 where the terminal has received some love recently. Ctrl+C will perform a copy operation in the terminal now, depending on whether any text is selected or not. Muscle memory has made for some annoying mistakes recently for me.
I put together a patch that implements this functionality in terms of terminating the query session object.
Thanks!