Show the prompt after a full line, to deal with stdout line buffering

Signed-off-by: Christopher Larson <kergoth@gmail.com>