hideIdlePrompt method

void hideIdlePrompt(
  1. bool hidden
)

Hides or restores the persistent idle prompt. While hidden, the editor draws no prompt between commands (used so the AI agent owns the screen); an explicit prompt question still shows. The host repaints the prompt when restoring.

Implementation

void hideIdlePrompt(bool hidden) {
  if (_promptHidden == hidden) return;
  _promptHidden = hidden;
  if (interactive && !_passthrough && _promptCompleter == null) _refresh();
}