If print_string() and probably by extension print_char() are used before
the Z-machine is running, a few random garbage characters are printed
instead of the intended text. I'm not clear why this happens.
{
os_stop_sample(0);
os_set_text_style(0);
- print_string("[Hit any key to exit.]\n");
+ os_display_string((zchar *)"[Hit any key to exit.]\n");
os_read_key(0, FALSE);
scrollok(stdscr, TRUE); scroll(stdscr);
refresh(); endwin();