| 1155 | } |
| 1156 | |
| 1157 | static void |
| 1158 | really_move_cursor(void) |
| 1159 | { |
| 1160 | #ifdef PORT_DEBUG |
| 1161 | char oldtitle[BUFSZ], newtitle[BUFSZ]; |
| 1162 | if (display_cursor_info && wizard) { |
| 1163 | oldtitle[0] = '\0'; |
| 1164 | if (GetConsoleTitle(oldtitle, BUFSZ)) { |
| 1165 | oldtitle[39] = '\0'; |
| 1166 | } |
| 1167 | Snprintf(newtitle, sizeof newtitle, |
| 1168 | "%-55s tty=(%02d,%02d) consoletty=(%02d,%02d)", |
| 1169 | oldtitle, |
| 1170 | ttyDisplay->curx, ttyDisplay->cury, |
| 1171 | console.cursor.X, console.cursor.Y); |
| 1172 | (void) SetConsoleTitle(newtitle); |
| 1173 | } |
| 1174 | #endif |
| 1175 | if (ttyDisplay) |
| 1176 | set_console_cursor(ttyDisplay->curx, ttyDisplay->cury); |
| 1177 | |
| 1178 | back_buffer_flip(); |
| 1179 | SetConsoleCursorPosition(console.hConOut, console.cursor); |
| 1180 | } |
| 1181 | |
| 1182 | void |
| 1183 | cmov(int x, int y) |
no test coverage detected