Skip to content

opentui: Terminal fails to launch on macOS #11016

Closed

Description

@poboll

Description

I have noticed that the issue where the terminal does not open on macOS has not been fixed yet. When I try to launch the terminal (opentui) within OpenCode, it fails to start.
Error Log:
I encountered the following error which suggests a PTY leak:

[forkpty: Device not configured]
[未能创建新的进程和打开伪终端(pseudo-tty)。]

Image

Plugins

OpenCode.app

OpenCode version

Version 1.1.39 (1.1.39)

Steps to reproduce

  1. Launch OpenCode on macOS.
  2. Attempt to open the terminal / opentui.
  3. Observe that the terminal window does not appear or fails to initialize.

Screenshot and/or share link

Image

Operating System

macOS 13.6.6

Terminal

Terminal.app

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 28, 2026
  2. github-actions commented on Jan 28, 2026

    @github-actions
    Contributor

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

    Both issues involve PTY (pseudo-terminal) creation failures on macOS/Linux systems. If you're experiencing the [forkpty: Device not configured] error, these discussions might provide helpful context.

    Feel free to ignore if none of these address your specific case.

  3. github-actions commented on Mar 30, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 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

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions