git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8984
e03df62e-2008-0410-955e-
edbf42e46eb7
cout << "Create new thread based on TestSuiteThread...\n";
te->Create(tst);
cout << "Create new thread based on TestSuiteThread...\n";
te->Create(tst);
- cout << "Press any key to end test.\n";
- getchar();
+ cout << "Type any line and press enter to end test.\n";
+ cin >> anything;
/* Thread engine auto frees thread on delete */
/* Thread engine auto frees thread on delete */
- cout << "Waiting for thread to exit...";
+ cout << "Waiting for thread to exit... " << flush;
delete tst;
cout << "Done!\n";
delete tst;
cout << "Done!\n";