Useless cross_getch hack removed
cross_getch provides a version of getch for every os.
The Windows Part does not work under wine, but it works
on the target platform.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
--- 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;
}
--- a/libConsole/cross_getch.c
+++ b/libConsole/cross_getch.c
@@ -9,9 +9,7 @@
{
int ch = -1;
- while (!kbhit ()) {
- ch = getch ();
- }
+ ch = getch ();
return ch;
}