Companion pet renders below input bar when claude-hud (or other multi-line status plugins) is active

Resolved 💬 2 comments Opened Apr 6, 2026 by Co-Messi Closed Apr 9, 2026

Description

When the claude-hud plugin is active, the companion pet sprite renders below the input bar instead of vertically centered beside it.

The HUD adds several lines between the input prompt and the bottom of the terminal. Claude Code's companion renderer appears to position the pet relative to the terminal's bottom edge without accounting for these extra lines, causing the pet to appear outside/below the > input line.

Steps to Reproduce

  1. Install the claude-hud plugin
  2. Have a companion pet active (via /buddy)
  3. Open Claude Code — the pet appears in the bottom-right but below the input line, not beside it

Expected Behavior

The companion pet should be vertically aligned with the input bar (>), regardless of how many lines the HUD or other plugins consume below it.

Actual Behavior

The pet renders below the HUD status block, outside the visible input area.

Environment

  • Claude Code version: latest
  • OS: macOS
  • Plugin: claude-hud

Screenshot

The pet (bottom-right) is visually below the input prompt rather than beside it:

!companion misaligned

The companion renderer likely needs a way for extensions to declare how many lines they occupy so the pet position can be adjusted accordingly.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗