Skip to content

Opencode TUI - Hangs on Mac from v1.2.7 #38110

Closed as not planned
Closed as not planned

Description

@ennc0d3

Description

Opening Opencode tui hangs on mac since the version v1.2.7, the workaround or the pinned version v1.16.2 doesn't work either.

The debug log shows that its hanging in the "init" stage and doesn't respond to Ctrl-c either.


  timestamp=2026-07-21T12:44:10.001Z level=INFO run=f8dac5a0 message=fromDirectory directory=/Users/<redacted>
  timestamp=2026-07-21T12:44:10.012Z level=INFO run=f8dac5a0 message=bootstrapping directory=/Users/<redacted>
  timestamp=2026-07-21T12:44:10.015Z level=INFO run=f8dac5a0 message=loading path=/Users/<redacted>/.config/opencode/config.json
  timestamp=2026-07-21T12:44:10.015Z level=INFO run=f8dac5a0 message=loading path=/Users/<redacted>/.config/opencode/opencode.json
  timestamp=2026-07-21T12:44:10.016Z level=INFO run=f8dac5a0 message=loading path=/Users/<redacted>/.config/opencode/opencode.jsonc
  timestamp=2026-07-21T12:44:10.023Z level=DEBUG run=f8dac5a0 message="loading config from /Users/<redacted>/.opencode/opencode.json"
  timestamp=2026-07-21T12:44:10.023Z level=INFO run=f8dac5a0 message=loading path=/Users/<redacted>/.opencode/opencode.json
  timestamp=2026-07-21T12:44:10.023Z level=DEBUG run=f8dac5a0 message="loading config from /Users/<redacted>/.opencode/opencode.jsonc"
  timestamp=2026-07-21T12:44:10.023Z level=INFO run=f8dac5a0 message=loading path=/Users/<redacted>/.opencode/opencode.jsonc
  timestamp=2026-07-21T12:44:10.028Z level=INFO run=f8dac5a0 message="all LSPs are disabled"
  timestamp=2026-07-21T12:44:10.028Z level=INFO run=f8dac5a0 message="all formatters are disabled"
  timestamp=2026-07-21T12:44:10.028Z level=INFO run=f8dac5a0 message=init

Plugins

None

OpenCode version

v1.18.4

Steps to reproduce

  1. opencode
  2. just hangs , doesn't respond to any keyboard events
  3. kill

This happens since version v1.2.7 until the latest. The workaround /confirmed version v1.16.2 didn't work either

Screenshot and/or share link

No response

Operating System

macOS 26.5.1

Terminal

Kitty, Xterm, Ghostty

Activity

  1. github-actions commented on Jul 21, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is specifically about the terminal capability probe deadlock (the TUI sends DECRPM queries and blocks waiting for responses), #37060 has detailed diagnostics that may be relevant.

  2. github-actions commented on Sep 20, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions