Haven't looked at the code in the last 22 years, but yeah, that looks right - making sure the output is a complete line *before* the call to initscr() does unspeakable things to the terminal does look correct.