[BUG] terminal setup crashes in ghostty

Resolved 💬 4 comments Opened Dec 15, 2025 by PedramNavid Closed Feb 14, 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?

When I run /terminal-setup I get a bun exception:

  /terminal-setup     Install Shift+Enter key binding for newlines
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error
    at wl0 (/$bunfs/root/claude:326:310)
    at wl0 (/$bunfs/root/claude:323:754)
    at MPR (/$bunfs/root/claude:304:92186)
    at MPR (/$bunfs/root/claude:304:92595)
    at call (/$bunfs/root/claude:349:83)

> /terminal-setup

✶ Inferring… (esc to interrupt)

Claude version: 2.0.69
Ghostty: 1.2.3

What Should Happen?

It should complete the terminal setup successfully

Error Messages/Logs

Steps to Reproduce

  1. Install Ghostty
  2. Install Claude Code
  3. Run /terminal-setup

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.69

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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