summaryrefslogtreecommitdiff
path: root/Source/Applications/SampleApps/cxxdemo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Applications/SampleApps/cxxdemo.cpp')
-rw-r--r--Source/Applications/SampleApps/cxxdemo.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Applications/SampleApps/cxxdemo.cpp b/Source/Applications/SampleApps/cxxdemo.cpp
index af16599..8da475a 100644
--- a/Source/Applications/SampleApps/cxxdemo.cpp
+++ b/Source/Applications/SampleApps/cxxdemo.cpp
@@ -1,11 +1,13 @@
#include <Syscall/Syscall.wtf.h>
#include <WChar.class.h>
-#include <VirtualTerminal.class.h>
+#include <Binding/VirtualTerminal.class.h>
+#include <Binding/Thread.class.h>
int main() {
VirtualTerminal x = VirtualTerminal::get();
+ Thread t = Thread::get();
for (char c = ' '; c <= 'z'; c++) {
- sleep((u32int)c / 4);
+ t.sleep((u32int)c / 4);
x.put(c);
}
x.put("\n");