--- a/db_bridge/console.cpp +++ b/db_bridge/console.cpp @@ -13,9 +13,7 @@ { int ch = -1; - while (!kbhit ()) { - ch =::getch (); - } + ch =::getch (); return ch; }