| 86 | #endif |
| 87 | } |
| 88 | int UnicodeConsoleSetup::sync() { |
| 89 | printf("%s", str().c_str()); |
| 90 | fflush(stdout); |
| 91 | str(std::string{}); |
| 92 | return 0; |
| 93 | } |
| 94 | bool UnicodeConsoleSetup::getline(std::string &line, bool hide_input) { |
| 95 | // std::string test; |
| 96 | // std::cout << "Enter test visible: " << std::flush; |