Text overlap on /exit: autocomplete renders over exit message

Resolved 💬 2 comments Opened Apr 1, 2026 by Dimchik1990 Closed May 6, 2026

Description

When typing /exit in Claude Code CLI, the autocomplete/suggestion menu renders on top of the exit message text, causing visual overlap.

Steps to reproduce

  1. Have a conversation in Claude Code CLI
  2. Type /exit
  3. Observe the exit message and the autocomplete suggestions overlapping

Screenshot

The exit message ("Resume this session with: ...") and the shell prompt overlap with the autocomplete suggestions (/context, /writing-rules, /compress, /skill-creator).

!Screenshot

Expected behavior

The exit message should render cleanly without any autocomplete overlay. The autocomplete menu should be dismissed before the exit message is printed.

Environment

  • macOS (Darwin 25.3.0)
  • Terminal: macOS default Terminal
  • Claude Code CLI (latest)

Additional context

The session saves correctly and --resume works fine. This is purely a visual/rendering issue where the terminal miscalculates the output height during exit, causing the autocomplete to draw over the farewell text.

View original on GitHub ↗

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