Skip to content

opentui: Terminal fails to launch on macOS #11016

@poboll

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

Metadata

Metadata

Assignees

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions