| # | Line 134 | Line 134 | namespace OpenMD { | |
|---|---|---|
| 134 | struct tm * ender = localtime(&end_); | |
| 135 | char buffer[22]; | |
| 136 | strftime(buffer, 22, "%a %b %d @ %I:%M %p", ender); | |
| 137 | < | |
| 137 | > | |
| 138 | > | #ifdef _MSC_VER | 
| 139 | > | csbi.dwCursorPosition.X = 0; | 
| 140 | > | SetConsoleCursorPosition(hConsole, csbi.dwCursorPosition); | 
| 141 | > | #else | 
| 142 | cout << '\r'; | |
| 143 | + | #endif | 
| 144 | cout.width(3); | |
| 145 | cout << right << int(percent); | |
| 146 | cout.width(3); | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |