added simple_client (and added it in the docs as well).
updated documentation to include some sample code. fixed a nasty network bug. It now seems to work on linux (at least in cygwin).
This commit is contained in:
@@ -123,12 +123,12 @@ bool sleep_and_input(char* c)
|
||||
|
||||
void set_cursor(int x, int y)
|
||||
{
|
||||
// std::cout << "\033[" << y << ";" << x << "H";
|
||||
std::cout << "\033[" << y << ";" << x << "H";
|
||||
}
|
||||
|
||||
void clear()
|
||||
{
|
||||
// std::cout << "\033[2J";
|
||||
std::cout << "\033[2J";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user