Explorar o código

updated to use our input, not opendoors.

Steve Thielemann %!s(int64=4) %!d(string=hai) anos
pai
achega
ac20c4b3a4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/door_example.cpp

+ 1 - 1
examples/door_example.cpp

@@ -13,5 +13,5 @@ int main(int argc, char *argv[]) {
   // display text, reset colors, NewLine.
   door << "Hello World" << door::reset << door::nl;
 
-  od_get_key(TRUE); // Wait for a keypress before exiting
+  door.sleep_key(door.inactivity); // Wait for a keypress before exiting
 }