[BUG] External editor (Ctrl-G) reprints the full welcome splash on every round-trip — v2.1.176 & v2.1.179

Open 💬 0 comments Opened Jun 17, 2026 by gohlool

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Summary

Opening the prompt in an external editor with Ctrl-G and saving/closing re-emits Claude Code's entire startup splash — the welcome box (Welcome back …, "Tips for getting started", "What's new") plus the Save and
close editor to continue … line — into the scrollback on every editor round-trip. It accumulates: N edits → N stacked splash boxes. The session is otherwise fine (same conversation, the edited draft is loaded
back into the input), so it's cosmetic — but it floods the scrollback and momentarily looks like a new session started.

Environment

  • Claude Code: v2.1.176 and v2.1.179 (both reproduce)
  • OS: Linux (Fedora 44, kernel 7.0.x)
  • Terminal: kitty (TERM=xterm-kitty)
  • Editor: reproduced with both EDITOR=nano and EDITOR=nvim
  • Reproduced both inside a rootless-Podman container and on a plain host with no container

What Should Happen?

Returning from the external editor restores the prompt in place (cleanly popping the alternate-screen buffer) without re-emitting the startup welcome splash; at most the input line redraws.

Actual

The complete welcome box + "What's new" + Save and close editor to continue … is re-emitted into the scrollback on every editor return.

Impact

Cosmetic — session continuity and the edited draft are preserved — but heavy external-editor use clutters the scrollback with duplicate splashes and gives a false "new session" impression.

Notes / what it is NOT

  • Editor-agnostic — reproduces with nano and nvim.
  • Environment-agnostic — reproduces in a container and on a bare host.
  • Not a terminfo issue — reproduces with the correct xterm-kitty terminfo present.

Error Messages/Logs

Steps to Reproduce

  1. export EDITOR=nano (any full-screen editor; nvim/vim behave identically)
  2. Start claude in any project
  3. Type some text into the prompt
  4. Press Ctrl-G to open the draft in the editor
  5. Edit, then save + quit (nano: Ctrl-O, Enter, Ctrl-X)
  6. Observe the full welcome splash reprinted above the returned prompt
  7. Repeat 3–6 → each round-trip stacks another splash box

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.179

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗