Whether a prompt is currently awaiting an answer (so a host can decide whether a Ctrl-C should unblock it).
bool get hasPendingPrompt => _promptCompleter != null;