Use std::cin.get() to wait for user input.
Use std::cin.get() to wait for user input.

The previous method, std::cin << c, was not working quite right for me on
macOS; it required that I enter a character; simply hitting Enter was not
sufficient.

opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core