Better graceful degradation for prompt formatting

OpenBSD hates me