[BUG] claude --teleport clears terminal after failing

Resolved 💬 4 comments Opened Nov 7, 2025 by jtheory Closed Jan 12, 2026

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?

⏺ You're absolutely right - clearing the terminal before showing error messages is a UX bug that makes debugging impossible.

For your bug report, I'd suggest including:

  • The behavior: claude --teleport clears terminal immediately, wiping any error messages
  • The impact: Makes debugging teleport failures impossible

In my case: I'd guess it was failing trying to checkout the working branch from the Claude Code Web session. I gave up on teleport, switched to the branch manually, and then just retried the teleport command "just in case", and it worked. I wish I'd had an error message telling me why it was failing, though.

What Should Happen?

  • Expected behavior: Error messages should be visible, or terminal should only clear on success

Error Messages/Logs

No clue, they were wiped out by the terminal clear

Steps to Reproduce

  • new Claude Code Web session, do some work that creates a git branch
  • copy the "Open in CLI" link (starts claude --teleport)
  • run in OS X Terminal, in the correct project directory (but without git pull or checking out the branch)
  • ...just get a flash then a newly cleared terminal

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.1 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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