I'm trying to output a formatted string with one of the characters set to bold. This is my attempt, which doesn't output '1' in bold:

Code:
printw("%c. Generate packed value\n  ", '1' || A_BOLD);
The reasoning for this came from the fact, the documentation notes that printw calls have their output done through the addch routine, not printf. I believe the reason why it fails is perhaps because it firsts formats the string and only then outputs.

Other than dividing the output with one call to addch and another to addstr, is there any way I can do this?