Hack in a print_char function.