* End using dialog functions. */
| 339 | * End using dialog functions. |
| 340 | */ |
| 341 | void end_dialog(int x, int y) |
| 342 | { |
| 343 | /* move cursor back to original position */ |
| 344 | move(y, x); |
| 345 | refresh(); |
| 346 | endwin(); |
| 347 | } |
| 348 | |
| 349 | /* Print the title of the dialog. Center the title and truncate |
| 350 | * tile if wider than dialog (- 2 chars). |