# `MingaEditor.Renderer.Minibuffer`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_editor/renderer/minibuffer.ex#L1)

Minibuffer (bottom status line) rendering: search prompt, command input,
status messages, and the empty-state fallback.

Accepts a map with focused fields (mode, mode_state, theme, status_msg,
diagnostic_hint) instead of the full EditorState. The pipeline's Chrome
stage constructs this map.

Returns `DisplayList.draw()` tuples.

# `input`

```elixir
@type input() :: map()
```

Focused input for minibuffer rendering.

The map should contain:
- `:mode` — current editor mode
- `:mode_state` — mode-specific state (search input, command input, etc.)
- `:theme` — theme struct with `.minibuffer` colors
- `:status_msg` — status message string or nil
- `:diagnostic_hint` — pre-fetched diagnostic string or nil
- `:buffers` — `%{active: pid | nil}` (only used for legacy path)

# `render`

```elixir
@spec render(input(), non_neg_integer(), pos_integer()) ::
  MingaEditor.DisplayList.draw()
```

Renders the minibuffer at `row` with a max width of `cols`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
